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 10:33:37
 
 
To
31/03/2011 09:16:51
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01505681
Message ID:
01505709
Views:
33
Ok here is the problem example with two bo’s
1st I’ll show what works with datasets
NOTE booth business projects referance LockboxLib

HUT Business project
HUTBO.FetchByDLN(dnl as Int)as dataset implements iDataCap.FetchByDLN
STR Business Project
STRBO.FetchByDLN(dnl as Int)as dataset implements iDataCap.FetchByDLN

Up in the LockboxLib project we have the following interface
Interface iDataCap
Function FetchByDLN(dnl as Int)as dataset
End interface
This works. Dataset is common so every project returns it no problem

Here is whats not working

HUT Business project
HUTBO.GetEntityListByDLN(dnl as Int)as mmbindinglist(Of DataCap)implements iDataCap. GetEntityListByDLN
STR Business Project
STRBO.GetEntityList(dnl as Int)as mmbindinglist(Of DataCap)implements iDataCap. GetEntityListByDLN


Interface iDataCap
Function GetEntityListByDLN(dnl as Int)as mmbindinglist(Of AbusinessEntity)
End interface
Previous
Reply
Map
View

Click here to load this message in the networking platform