sqlite * mono
See original GitHub issue public partial class MyTest_DataConnection : LinqToDB.Data.DataConnection
{
private static readonly string CnnString = @"Data Source=" + AppDomain.CurrentDomain.BaseDirectory + "test.db";
public MyTest_DataConnection() :
base(new SQLiteDataProvider(), CnnString)
{
}
}
[Table("ololo")]
public partial class ololo
{
[PrimaryKey, Identity]
public long id { get; set; } // integer
}
class Program
{
static void Main(string[] args)
{
using (var db = new MyTest_DataConnection())
{
var q =
from c in db.GetTable<ololo>()
select c;
foreach (var c in q)
Console.WriteLine(c.id);
}
}
}
results: MS: 1 2
Debian: pi@rpi:~/Test $ ./ConsoleApplication22.exe Missing method Microsoft.SqlServer.Server.SqlFunctionAttribute::get_Name() in assembly /usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll, referenced in assembly /home/pi/Test/linq2db.dll
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (12 by maintainers)
Top Results From Across the Web
SQLite
The Mono.Data.SqliteClient assembly contains an ADO.NET data provider for the SQLite embeddable database engine (both version 2 and version 3).
Read more >Mono.Data.Sqlite
A simple custom attribute to enable us to easily find user-defined functions in the loaded assemblies and initialize them in SQLite as connections...
Read more >Running Sqlite on Mono
I am working on a c# project which makes use of an SQLite3 database and needs to be cross compatible between windows and...
Read more >Mono.Data.Sqlite 1.0.61
Sqlite 1.0.61 .NET Framework 4.0 .NET CLI; Package Manager; PackageReference; Paket CLI; Script & Interactive; Cake. dotnet add package Mono ...
Read more >Mono.Data.Sqlite.dll.sources
Mono open source ECMA CLI, C# and .NET implementation. - mono/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite.dll.sources at main · mono/mono.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yep! on this weekend only. thanks!
Closing as it looks like too outdated 😃 https://github.com/mono/mono/blob/master/mcs/class/referencesource/System.Data/System/Data/Sql/SqlFunctionAttribute.cs#L91