Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing generic delegate to business objects
Message
De
30/10/2008 09:22:45
 
 
À
29/10/2008 09:43:07
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357813
Message ID:
01358328
Vues:
32
Tim,

>I am not sure I understand your idea so don't get offended if I get it wrong. It sounds like you are asking for the UI to know all about (have a reference to) the business tier AND the business tier to know about (have a reference to) the UI. It may be that you are having problems because you are attempting to create a circular reference by fooling it. Why is it you need business logic to create forms? Can you just raise an event in the business logic that allows the UI to create it's own form?

Thank you.
Using events may be good idea but it has the same issue.

I have about 150 possible entities.
In UI layer I have some static generic methods which take entity as generic type parameter and creates UI form for edit this type of entity.

How to pass this method and entity type from business layer to this form using events ?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform