Quote:
But using nhibernate we can't create layered application, we can just create business entities + login in same file and we have to manually add those files in our project.
Layered applications have been built for years with Hibernate so I don't know what you mean.
There is a tool called hbm2net that I think generates entitites but I haven't ever used it.
I encourage you again to learn some architecture patterns like those in the Fowler book. THey aren't gospel but will help you.
LLBLGen might be just the tool for you if you just want to generate code and think of your domain as just dumb data carriers. Microsoft has a whole community of people who encourage these bad practices so at least there'd be company.