Page 1 of 1

DataLoadOptions

Posted: Tue 10 Nov 2009 12:46
by drichter

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

Posted: Tue 10 Nov 2009 13:45
by drichter
Got it myself..

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