摘要:
假如有AB两表,A为主,B为子:已知A表ID,查B表数据ICriteria criteriaTotal = session.CreateCriteria().CreateCriteria("A"); criteriaTotal.Add(Restrictions.... 阅读全文
posted @ 2016-01-15 10:21
garsonguo
阅读(377)
评论(0)
推荐(0)
摘要:
需要再映射属性字段增加Not.Insert()Map(x => x.Provrince, "PROVRINCE").Not.Insert(); Map(x => x.City, "CITY").Not.Insert(); 阅读全文
posted @ 2016-01-15 10:06
garsonguo
阅读(251)
评论(0)
推荐(0)

浙公网安备 33010602011771号