Provider Manifest Token for EF and CodeFirst
Posted: Fri 06 Dec 2013 18:27
In our application, we create the Database Model for the DbContext like this at runtime:
var Builder = new DbModelBuilder();
...
_DatabaseModel = Builder.Build( new DbProviderInfo( "Devart.Data.SQLite", "SQLite" ) ).Compile();
...
What is the correct Provider Manifest Token for this? With "SQLite", we get an exception.
This code works quite well for the SQL Server and SQL Compact providers from MS (with their corresponding Provider Manifest Tokens).
Thanks and regards
Felix
var Builder = new DbModelBuilder();
...
_DatabaseModel = Builder.Build( new DbProviderInfo( "Devart.Data.SQLite", "SQLite" ) ).Compile();
...
What is the correct Provider Manifest Token for this? With "SQLite", we get an exception.
This code works quite well for the SQL Server and SQL Compact providers from MS (with their corresponding Provider Manifest Tokens).
Thanks and regards
Felix