DataLoadOptions

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
drichter
Posts: 20
Joined: Fri 21 Aug 2009 14:44

DataLoadOptions

Post by drichter » Tue 10 Nov 2009 12:46

Code: Select all

            Devart.Data.Linq.DataLoadOptions dlo = new Devart.Data.Linq.DataLoadOptions();
            dlo.LoadWith(p => p.Storeratings);
This code is actually throwing an intellisense error like:

Code: Select all

Cannot implicitly convert type 'System.Data.Linq.EntitySet' to 'object'	
Regarding to this example it should work like above:

http://msdn.microsoft.com/en-us/library ... dwith.aspx

drichter
Posts: 20
Joined: Fri 21 Aug 2009 14:44

Post by drichter » Tue 10 Nov 2009 13:45

Got it myself..

was missing a reference to System.Data.Linq library..

Post Reply