Creating a new database with EF code first
Posted: Wed 19 Dec 2012 00:01
Does the DevArt SQLite provider support creation of databases?
I'm using EF code first but each time I try to create a database I'm getting a first chance exception "DatabaseExists is not supported by the provider". This is coming from System.Data.Common.DbProviderServices, and it looks as if the SQLiteProviderServices class does not override the appropriate member to support database creation.
So, I just want clarification that the current SQLite provider does not permit databases to be constructed and I'll have to generate the schema by hand.
Thanks in advance,
Morgan
I'm using EF code first but each time I try to create a database I'm getting a first chance exception "DatabaseExists is not supported by the provider". This is coming from System.Data.Common.DbProviderServices, and it looks as if the SQLiteProviderServices class does not override the appropriate member to support database creation.
So, I just want clarification that the current SQLite provider does not permit databases to be constructed and I'll have to generate the schema by hand.
Thanks in advance,
Morgan