Starting from 2.1, nhib.pdf supports the new entitymode. Map feature to help you design models persistently without writing any domain entities.
Because a colleague is studying this, I am also concerned about it. Li yongjing's blog details this feature
Http://www.cnblogs.com/lyj/archive/2009/08/05/nhibernate-new-features-entitymode-map.html
In nh2.1, there are three entitymodes:
Poco
Dynamic-map (also called dictionary <propertyname, propertyvalue>)
XML (not implemented)
I wanted to write a comparison between the efficiency of Poco and map that we usually use. Suddenly, I was not interested in map.
My colleague studied this and hoped that both the object class and xml configuration could be used for database operations without prior definition. But I suddenly thought that these configuration files were missing, the database relationship is not reflected in the Code. Should I bring programmers back to the era of database structure?