Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
- Posts: 390
- Joined: Sat 09 Dec 2006 12:20
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
But the dlo doesn't seem to have any changes to the SQL Statement created in the followed LinQ Query.
- Devart Team
- Posts: 2919
- Joined: Mon 07 Jul 2008 13:16
True is the default value for the DeferredLoadingEnabled property.
All data is loaded when this property is set to false.
Please let me know if something goes wrong.