Hi all
This is a bit more general than CSLA, but given the knowledge here thought it would be a good place.
Assuming a business layer with Data Transfer Objects for communicating with the DAL, how should this be implemented at the UI layer.
If we have a data intensive UI (intranet in my case) how should the data best be transferred between the BL and UI. One option is to reference the DTOs at the UI level and instantiate them there - add the new/edited data to the object and then pass it to the BO for saving/validation (this is just an example) - this has the benefit of ensuring type safety at all levels, but also breaks the separation model.
The other option is to call your method in the BL with parameters - should this be named parameters, a datarow or any other option?
I also tend to use generics for binding to data grids etc. rather than datasets - is this correct?
Any thoughts/experiences gratefully received!
Thanks
Ben
Copyright (c) Marimer LLC