Are nhibernate entities part of the BL? -


i looking right n-tier modal adapt new nhibernate project. quite new it. have several entities , corrosponding mapping classes. can't seem figure if entities should act bl level classes, or merly object oriented part of dal.

can shed light on this?

thank you.

your entities defenetly part of bl layer. should reflect business meaning. example if writing online shop have user entity , have list of order entities , on.

you can have @ different examples , best practices of nhibernate usage, such sharp architecture , nhibernate best practices putting entities in business layer while mappings in data access.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -