I was able to build Massive.Sqlite on Mono 2.6.10 and get selects, inserts, updates and deletes working. I haven't tried anything else yet. You can look at the examples on how to do that stuff here:
A couple points to note are that you have to change two lines so they work with Mono.Data.Sqlite instead of System.Data.Sqlite.
Replace
using System.Data.SQLite;
with
using Mono.Data.SQLite;
I also had to change line 128 from:
var _providerName = "System.Data.SQLite";
to
var _providerName = "Mono.Data.SQLite";
If you are using MonoDevelop and create a new project you'll need to set it to use the .NET 4 profile and then add the following references to your project:
Try Vega https://github.com/aadreja/vega. One of the best & fastest .net ORM with enterprise features. It supports both .net core and .net and works like a charm on linux.
发布评论
评论(2)
我能够在 Mono 2.6.10 上构建 Massive.Sqlite 并进行选择、插入、更新和删除工作。我还没有尝试过其他任何东西。您可以在此处查看有关如何执行此操作的示例:
https://github.com/robconery/massive
需要注意的几点是,您必须更改两行,以便它们与 Mono.Data.Sqlite 而不是 System.Data.Sqlite 一起使用。
替换
为
我还必须将第 128 行从: 更改
为
如果您使用 MonoDevelop 并创建一个新项目,您需要将其设置为使用 .NET 4 配置文件,然后将以下引用添加到您的项目:
I was able to build Massive.Sqlite on Mono 2.6.10 and get selects, inserts, updates and deletes working. I haven't tried anything else yet. You can look at the examples on how to do that stuff here:
https://github.com/robconery/massive
A couple points to note are that you have to change two lines so they work with Mono.Data.Sqlite instead of System.Data.Sqlite.
Replace
with
I also had to change line 128 from:
to
If you are using MonoDevelop and create a new project you'll need to set it to use the .NET 4 profile and then add the following references to your project:
尝试使用 Vega https://github.com/aadreja/vega。最好的之一最快的.net ORM,具有企业功能。它同时支持 .net core 和 .net,并且在 Linux 上运行起来就像一个魅力。
Try Vega https://github.com/aadreja/vega. One of the best & fastest .net ORM with enterprise features. It supports both .net core and .net and works like a charm on linux.