tag:blogger.com,1999:blog-4394562672296169849.post7860396538830316374..comments2023-12-21T18:06:15.136+08:00Comments on class Programmer : IEnableMuch {: Entity Framework's NHibernate session.LoadIEnableMuchhttp://www.blogger.com/profile/01393635235961303977noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4394562672296169849.post-11025400700023631342014-08-08T08:19:52.073+08:002014-08-08T08:19:52.073+08:00It should be noted that this works when we have a ...It should be noted that this works when we have a conventions:<br /><br />1) PrimaryKey is a single property<br />2) Property carrying the primary key is XXXId if the entity is named XXX<br /><br />Also, it should be trivially possible to cache the reflected properties and generated names to reduce overhead. Really, this should be something in EF itself.<br />IDisposablehttps://www.blogger.com/profile/02275315449689041289noreply@blogger.com