Question Winform three tier application

ballybeg

Member
Joined
Jul 28, 2011
Messages
20
Location
Canberra Australia
Programming Experience
10+
Hi all,

Looking for guidance on best practice regarding the development of a new project. I have separated my project into 3 layers 1) Presentation 2) Business Classes 3) Data Access. The Data access classes are split into 4 discrete projects, beacuse they can operate independantly, but all 4 use the same business classes, and the presentation layer is built around the business objects.

My question is do I have each of the the 4 data access classes reference the business classes - I have build the data methods designed to return business objects - and return the object from the business to the presentation layer OR
do I reference the business classes to the presentation layer directly?

I am aniticpating a 'class clash' or confusion if an object is referenced from two separate places. Hope I have made my question and siutation clear.

ballybeg
Canberra
 
Back
Top