Page 1 of 1

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

Posted: Wed 04 Apr 2018 09:16
by bairog
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.

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

Posted: Thu 05 Apr 2018 14:21
by Shalex
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.