[Mono-list] NotImlementedException when sqlite connection passed to DataContext constructor.

Jonathan Pryor jonpryor at vt.edu
Sun May 9 16:41:08 EDT 2010


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