摘要:
http://www.zvolkov.com/clog/2009/07/09/why-nhibernate-updates-db-on-commit-of-read-only-transaction/Always be careful with NULLable fields whenever yo... 阅读全文
摘要:
NHibernate's concept of 'inverse' in relationships is probably the most often discussed and misunderstood mapping feature. When I was learning NHibernate, it took me some time to move from "I know where should I put 'inverse' and what then happens" to "I know why d 阅读全文
摘要:
public class Foo { public IList Strings { get; set; } } class Program { static void Main(string[] args) { //Func func = // a => a.Strings.Any(b => b == "asdf"); // b => b == "asdf"; var bParameter = Expression.Parameter(... 阅读全文