G
Guest
Hello All:
I need some help understanding project references. I have two projects that
are giving me grief. They are called Business and Messaging.
The Business proejct contains classes that handle the business layer. These
handle database calls that return data from the system's databases. It
contains classes like Policy, Unit and Vehicle. Currently, the Business
project has no reference to the Messaging project.
The Messaging project handles calls to a third-party system and uses
Business' classes (Unit, Policy and Vehicle). For example, The Messaging
class will use a Business.Vehicle class which holds information about a
Vehicle to request information from the third-party system about that
vehicle. Currently, the Messaging project has a reference to the Business
project.
If I delete the Messaging project's reference to the Business project and
create a reference to the Messaging project in the Business project, the
Messaging classes' method calls can not use the Policy, Unit or Vehicle
classes. An example of the message that is displayed is "Type
Business.Policy is not defined."
Why?
Finally, I need to architect this such that the Business project references
the Messaging project. I want to be able to pass Busienss classes to
Messaging classes so that the Messaging classes can retrieve data from the
third-party and pass that data back to the Business classes (i.e. act as a
database layer). Does anyone have an idea how I could do this?
I hope that I have been somewhat clear.
TIA,
I need some help understanding project references. I have two projects that
are giving me grief. They are called Business and Messaging.
The Business proejct contains classes that handle the business layer. These
handle database calls that return data from the system's databases. It
contains classes like Policy, Unit and Vehicle. Currently, the Business
project has no reference to the Messaging project.
The Messaging project handles calls to a third-party system and uses
Business' classes (Unit, Policy and Vehicle). For example, The Messaging
class will use a Business.Vehicle class which holds information about a
Vehicle to request information from the third-party system about that
vehicle. Currently, the Messaging project has a reference to the Business
project.
If I delete the Messaging project's reference to the Business project and
create a reference to the Messaging project in the Business project, the
Messaging classes' method calls can not use the Policy, Unit or Vehicle
classes. An example of the message that is displayed is "Type
Business.Policy is not defined."
Why?
Finally, I need to architect this such that the Business project references
the Messaging project. I want to be able to pass Busienss classes to
Messaging classes so that the Messaging classes can retrieve data from the
third-party and pass that data back to the Business classes (i.e. act as a
database layer). Does anyone have an idea how I could do this?
I hope that I have been somewhat clear.
TIA,