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 <[email protected]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
