General information
Category:
The Mere Mortals .NET Framework
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only