Common structures between business layer (BLL) data access layer (DAL) and UI?
问题 I want all my layers BLL ,DAL and UI to share classes (concrete or interfaces). Is this really a bad practice? I prefer not to return datatables from my DAL methods but instead to return objects that BLL can use directly. I want to have a separate VS project with the classes that all layers should know about. Example: I want to define a lot class that all layers should be aware of. UI should be able to receive lot classes in order to display or make possible for the user to submit a lot to be