[Mono-list] NotImlementedException when sqlite connection passed to DataContext constructor.
Paul Gittings
paulgittingsnews at gmail.com
Wed May 19 00:41:48 EDT 2010
Jon,
I don't know where my head was at. It's MonoDevelop 2.2.1 and Mono
version 2.4.4. So I take it I need to move on up to the 2.6 series of
Mono before my code will work.
Thanks for the help.
Cheers,
Paul
On 10/05/10 06:41, Jonathan Pryor wrote:
> Do you mean Mono 2.4.4 (not MonoDevelop [0]) and System.Data.Linq.DataContext? If so, that's because DataContext wasn't implemented until the Mono 2.6 series.
>
> - Jon
>
> [0] MonoDevelop just released their beta for 2.4; there is no MonoDevelop 2.4.4.
>
> On May 9, 2010, at 2:35 AM, TaffyDownUnder <news at GittingsFamily.net> wrote:
>
>
>> Hi,
>> I'm using MonoDevelop 2.4.4 and the following piece of code is throwing a
>> NotImplementedException when the DataContext constructor is called:
>>
>> using System.Data;
>> using System.Linq;
>> using Mono.Data;
>> using Mono.Data.Sqlite;
>> [...]
>> string connectionString = "Data Source=/DS/Northwind.sl3";
>> var dbcon = new SqliteConnection(connectionString);
>> dbcon.Open();
>>
>> var db = new DataContext(dbcon);
>>
>> Anything obvious that I've done wrong? Suggestions? known issues?
>>
>> Ta,
>> Paul
>> --
>> View this message in context: http://mono.1490590.n4.nabble.com/NotImlementedException-when-sqlite-connection-passed-to-DataContext-constructor-tp2164253p2164253.html
>> Sent from the Mono - General mailing list archive at Nabble.com.
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>
More information about the Mono-list
mailing list