Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Circular Reference problem (again)!
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Circular Reference problem (again)!
Divers
Thread ID:
00856954
Message ID:
00856954
Vues:
60
We have a few projects in our solution:

AA - Main application project
AABusinessData - Data Objects
AAWindowForms - Base Forms and controls

AA refers to AABusinessData and AAWindowForms

There is a class called aaBusinessForm inherited from mmBusinessForm.

I am trying to add a security check at the LOAD event of aaBusinessForm. I need access to a data object in AABusinessData, but when I try to add the reference to AABusinessData from AAWindowForms, I got the "A reference to 'AABusinessData' could not be added. Adding this project as a reference would cause a circular dependency" error. What is the best way to fix this problem? Should I move aaBusinessForm to the main AA project?
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Répondre
Fil
Voir

Click here to load this message in the networking platform