Tutorial :type safe and nhibernate


Is it possible to create 100% type safe compile time checking code?

Even criteria seems to reference column names with a string reference "Username", but if you put "Usernnameaa" it will fail at runtime right?


Out of the box, no. It looks like there is a project called nhlambdaextensions which might be what you're wanting.


Good news: You get it with Nhibernate3

See http://nhibernate.info/blogs/nhibernate/archive/2009/12/17/queryover-in-nh-3-0.aspx

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »