DataLoadOptions

DataLoadOptions

Postby 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

Postby drichter » Tue 10 Nov 2009 13:45

Got it myself..

was missing a reference to System.Data.Linq library..
drichter
 
Posts: 20
Joined: Fri 21 Aug 2009 14:44


Return to dotConnect for PostgreSQL