开发者

nhibernate session strange behavior

i have an app with fluent nhibernate mappings..

when i start the app first time and initiate a session and a configuration an a session factory for the first time i see in the console that the session do some updates inserts and select on my mapped class

any one can explain this please..?

i see stuff like AbstractEntityPersister.Inse开发者_开发技巧rt


When the application first starts NHibernate creates static SQL for the CRUD operations of all your entities and caches them so that it doesn't have to create them for every request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜