Porting Entity Framework Code-First project (with dotConnect for SQLite) from Windows to Linux

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
bairog
Posts: 120
Joined: Mon 29 Apr 2013 09:05

Porting Entity Framework Code-First project (with dotConnect for SQLite) from Windows to Linux

Post by bairog » Wed 04 Apr 2018 09:16

Hello.
For today we have project (which uses Entity Framework Code-First approach via dotConnect for SQLite 5.10) that targets Windows platform.
Our next aim is to target Linux (Debian 9).

So is there any quickstart guide for Linux? Main questions are:
1) Is Mono required? Or .NET Core is enough and we can use Visual Studio Code for example?
2) Entity Framework should be replaced with Entity Framework Core, right?
3) What about licensing mechanism in Linux?

Thank you in advance.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Porting Entity Framework Code-First project (with dotConnect for SQLite) from Windows to Linux

Post by Shalex » Thu 05 Apr 2018 14:21

bairog wrote: Wed 04 Apr 2018 09:161) Is Mono required? Or .NET Core is enough and we can use Visual Studio Code for example?
2) Entity Framework should be replaced with Entity Framework Core, right?
You should use:
* Mono with EF6
* .NET Core with EF Core
There is no direct way of migrating EF6 to EF Core: https://docs.microsoft.com/en-us/ef/efc ... 6/porting/.
We recommend you to recreate EF Core model from scratch using Entity Developer.
bairog wrote: Wed 04 Apr 2018 09:163) What about licensing mechanism in Linux?
.NET Core licensing is described at https://www.devart.com/dotconnect/sqlit ... ndard.html.

Post Reply