Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating interfaces when return type is entity list
Message
De
31/03/2011 10:33:37
 
 
À
31/03/2011 09:16:51
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01505681
Message ID:
01505709
Vues:
34
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform