Hi,
I'm currently evaluating the dotConnect for SQLite and having a hard time to get the SQLite Migration feature up and running. I'm relatively new to Entity Framework so I can't guarantee if my problems are relating to misuse of EF.
Are there any Code First + Migration samples available for dotConnect for SQLite?
In installed samples I couln't find any examples that cover these topics.
Code First + Migrations Sample available?
-
- Posts: 4
- Joined: Mon 18 Jan 2016 09:24
-
- Posts: 4
- Joined: Mon 18 Jan 2016 09:24
Re: Code First + Migrations Sample available?
I've found SQLite+Migration sample here -> you have to scroll down to find the download links for the code .zip files
- EF 6
http://blog.devart.com/entity-framework ... Migrations
- EF 4
http://blog.devart.com/entity-framework ... irstsample
I had to change some minor things in the app.confif to select the correct version of the provider:
<provider invariantName="Devart.Data.SQLite" type="Devart.Data.SQLite.Entity.SQLiteEntityProviderServices, Devart.Data.SQLite.Entity, Version=5.3.563.6, Culture=neutral, PublicKeyToken=09af7300eec23701"/>
So far the inital creation of the SQLite DB worked out fine.
Will continue the create individual migration packages the next few days.
Will post the results here this thread.
- EF 6
http://blog.devart.com/entity-framework ... Migrations
- EF 4
http://blog.devart.com/entity-framework ... irstsample
I had to change some minor things in the app.confif to select the correct version of the provider:
<provider invariantName="Devart.Data.SQLite" type="Devart.Data.SQLite.Entity.SQLiteEntityProviderServices, Devart.Data.SQLite.Entity, Version=5.3.563.6, Culture=neutral, PublicKeyToken=09af7300eec23701"/>
So far the inital creation of the SQLite DB worked out fine.
Will continue the create individual migration packages the next few days.
Will post the results here this thread.