Deferred Loading...
Posted: Fri 31 Jul 2009 11:09
Hey
I am using your latest Components.
In VB.NET I try to use the LoadOptions, so that all data I need will be loaded straight in to my bindingsource.
Therefore I use the following code:
But the dlo doesn't seem to have any changes to the SQL Statement created in the followed LinQ Query.
Any tipps?
THX
I am using your latest Components.
In VB.NET I try to use the LoadOptions, so that all data I need will be loaded straight in to my bindingsource.
Therefore I use the following code:
Code: Select all
GetDataContext.DeferredLoadingEnabled = True
Dim dlo As New Devart.Data.Linq.DataLoadOptions
dlo.LoadWith(Of Voptneucontext.Artikelstammdetail)(Function(Detail) Detail.Artikelstammid)
GetDataContext.LoadOptions = dlo
Any tipps?
THX