Can nhibernate be used without performing XML mapping?

I have many classes and it is a lot of work to do XML mappings.

+3
source share
3 answers

Yes, nHibernate can be used without XBM files.

There is a free interface for configuration and mapping , which should provide you with a more secure map type for mapping your classes.

You can use the auto mapping function and return to smooth mapping as needed.

+6
source
+1

All the technologies mentioned create XML under the cover. The only structure that maps objects directly without XML is ConfORM . But you can only use it with NHibernate 3.

0
source

Source: https://habr.com/ru/post/1769958/


All Articles