Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing generic delegate to business objects
Message
From
30/10/2008 09:22:45
 
 
To
29/10/2008 09:43:07
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01357813
Message ID:
01358328
Views:
34
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform