question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

    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:closed
  • Created 7 years ago
  • Comments:21 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
10dercommented, Feb 28, 2017

yep! on this weekend only. thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found