摘要:
条件查询NHibernate.ICriteria接口表示特定持久类的一个查询。ISession是 ICriteria实例的工厂。这里以Northwind数据库为示例数据库示例数据表:Employees现在只用雇员表中部分字段。持久类如下:public class Employees { public virtual int EmployeeID { get; set; } public virtu... 阅读全文
posted @ 2009-12-17 16:49
梅桦
阅读(4800)
评论(3)
推荐(3)
摘要:
这里以Northwind数据库为示例数据库示例数据表:Products现在只用产品表中部分字段。持久类如下:public class Products { public virtual int ProductID { get; set; } public virtual string ProductName { get; set; } public virtual int CategoryID {... 阅读全文
posted @ 2009-12-17 14:57
梅桦
阅读(1104)
评论(0)
推荐(1)
摘要:
HQL查询这里以Northwind数据库为示例数据库示例数据表:Employees现在只用雇员表中部分字段。持久类如下:public class Employees { public virtual int EmployeeID { get; set; } public virtual string LastName { get; set; } public virtual string Firs... 阅读全文
posted @ 2009-12-17 12:00
梅桦
阅读(2221)
评论(0)
推荐(0)
浙公网安备 33010602011771号