Is it possible to? I have an existing database and created entity classes:
public class MyContainer : DbContext { public DbSet<Item> Items { get; set; }
When I use this connection string, it fails because it does not have metadata files:
<connectionStrings> <add name="MyContainer" connectionString="metadata=.\items.csdl|.\items.ssdl|.\items.msl;provider=System.Data.SQLite;provider connection string="data source=.\mindstore.sqlite.s3db"" providerName="System.Data.EntityClient"/> </connectionStrings>
But when I omit the metadata from the configuration, it complains that you are not allowed to skip the metadata from the configuration.
So, how can you use SQLITE with EF 4.1 without any xml configuration files and just do a mapping for each convention?
source share