Tag: reflection
-
NHibernate and Auto Properties
I’ve been working through the NHibernate with ASP.NET ProblemDesignSolution (Wrox Blox), with some small changes. I’m writing my sample in C# using the .Net framework 3.5. I prefer to use auto-properties. It’s common that fields have private setters and only nhibernate can map using the backing field (set via reflection). public String City { get; […]