2011年10月14日
摘要: 1) DetachedCriteria ICriteria query = this.Session.CreateCriteria(typeof(Person)); DetachedCriteria personIds = DetachedCriteria.For(typeof(ServicePerson)) .SetProjection(Projections.Property("PersonId")) .Add(Restrictions.Eq("IsPrincipal", true)); query.Add(Subqueries.PropertyIn 阅读全文
posted @ 2011-10-14 21:01 鱼不爱水 阅读(193) 评论(0) 推荐(0)