What is the most efficient way to display NHibernate?

I know annotations to do a hibernate mapping in Java, and now I'm looking for a similar way to do the same in C # and NHibernate. I found out that there are several approaches

  • match in xml files
  • NHibernate.Mapping.Attributes (NHMA)
  • free
  • Is there any more?

I tried NHMA and found that I had some blocking points for me ...

I don’t want you to discuss what is the best way to map models to NHibernate, but I was looking for a good comparison on the Internet.

Do you know such sites? What facts are the main points of consideration if I choose one of the “frameworks” listed above? I think about aspects such as “is this a project officially supported by NH developers?”, “Are there models that can be displayed in xml matching but not running / NHMA / etc ...?”

What can you recommend? Why?

+1
source share
2 answers

NHibnernate (CodeSmith, MyGeneration, T4 ..) , , POCOs .

+4
+2

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


All Articles