Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating interfaces when return type is entity list
Message
From
31/03/2011 09:48:41
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
31/03/2011 09:16:51
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01505681
Message ID:
01505693
Views:
45
Hi Brian,

>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 ?)

Can you show some code on what you are trying to do? I am not sure I follow the explanation.
Thanks
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform