Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating interfaces when return type is entity list
Message
 
 
To
31/03/2011 09:16:51
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01505681
Message ID:
01505688
Views:
56
>Problem creating interfaces when return type is entity list.
>I'm using mere mortals 3.5
>
>This is going to be a long winded explanation of the problem so please bear with me.
>I have a solution that contains 4 MM business projects and a base class project. My base class has an interface class that is used to access a business object on each of the 4 business projects. Example
>Each of the four business projects have a DataCap business object. These BO’s have some common fields like DLN and also have fields they they do not have in common.
>Each of the four implement the IdataCap interface.
>One of the method calls on the interface is
>Function Fetch_byDLN(ByVal DLN As Int64) As DataSet
>Each of the four implement this method call with no problem.
> Where I’m running into problems is creating interface calls the return entity lists. If I wanted the above method call to return an entity list rather than a dataset how would I set that up?
>Function GetEntityList_byDLN(ByVal DLN As Int64) As mmBindingList(Of ?)

I'm not really following the part about the interface calling return entry lists. Can you give more details? Code would be great.
Previous
Reply
Map
View

Click here to load this message in the networking platform