C# mono上带有sqlite的实体框架

C# mono上带有sqlite的实体框架,c#,linux,entity-framework,sqlite,mono,C#,Linux,Entity Framework,Sqlite,Mono,我已经尝试使用mono在linux上的mvc web应用程序中连接sqlite数据库一段时间了,但我还没能让它工作。起初,我一直在获取System.DLLNotFoundException,因为出于某种原因,它找不到SQLite.Interop.dll。据我所知,我应该在linux上使用Mono.Data.Sqlite,而不是System.Data.Sqlite 我能够在测试控制台应用程序中使用Mono.Data.Sqlite连接到数据库,而不使用Entity Framework,但是每当我尝试

我已经尝试使用mono在linux上的mvc web应用程序中连接sqlite数据库一段时间了,但我还没能让它工作。起初,我一直在获取
System.DLLNotFoundException
,因为出于某种原因,它找不到
SQLite.Interop.dll
。据我所知,我应该在linux上使用
Mono.Data.Sqlite
,而不是
System.Data.Sqlite

我能够在测试控制台应用程序中使用
Mono.Data.Sqlite
连接到数据库,而不使用Entity Framework,但是每当我尝试使用Entity Framework时,我都会遇到错误

The 'Instance' member of the Entity Framework provider type 'Mono.Data.Sqlite.SqliteFactory, Mono.Data.Sqlite, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' did not return an object that inherits from 'System.Data.Entity.Core.Common.DbProviderServices'.
可以在Mono上使用实体框架和SQLite吗?有关于它的教程吗