Craig wrote:

> The usual way to deal with this is to break the common class out into a
separate assembly and reference it from both of the projects.

An alternative to this approach is defining an interface for this class in
the lower layer (e.g. IOrder) and implementing this interface in the upper
layer (Order : IOrder). This way you can define methods like
SaveOrder(IOrder order) in the data layer and pass Order objects to it from
the business layer.

-- Stefan

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to