Hi,
I am trying to start using prefetch path (Adapter, LLBL 3.5).
In the manual there is simple example beginning with:
' VB.NET
Dim orders As New EntityCollection(Of OrderEntity)()
Dim prefetchPath As New PrefetchPath2(EntityType.OrderEntity)
....
But I got an error in this statement:
Overload resolution failed because no accessible 'New' is most specific for these arguments:
'Public Sub New(rootEntityType As System.Enum)': Not most specific.
'Public Sub New(rootEntityType As Integer)': Not most specific.
To get rid of I have to cast to INT like:
Dim prefetchPath As New PrefetchPath2(Ctype(EntityType.OrderEntity,Integer))
But there is no cast to INT in your example in the manual, why? Mistake in doc or did I miss something?
Thx.