businesslayer.getenumerable(True)


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
Poking around in source code I find the overload for businesslayer.getenumerable



_

Public Function GetEnumerable(ByVal separateInstances As Boolean) As IEnumerable

If separateInstances Then

'-- Create a new business binding source that will be disposed after use

Dim bbs As New BusinessBindingSource(True)

bbs.BusinessObject = Me

Return bbs

Else

Return Me.GetEnumerable()

End If

End Function





This looks cool. I'm trying to come up with a scenario where is can be useful as I am pretty sure there may be a lot of them.



Suggestions?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search