views:

15

answers:

0

Let's say that in a project your entire domain can be modelled with a single root say "Company". So is it logical then to say that my DAL exposes only 2 methods :- save and delete to the business layer and all other things are done at business layer ?? or is it bad design ?? Context : I am new to ORM and am currently involved in a project that migrates a hand-written DAL to a ORM(hibernate) based one.