摘要:
第一步:创建User实体类1using System; 2using System.Collections.Generic; 3using System.Text; 4 5namespace NHibernateTest 6{ 7 [Serializable] 8 public class User 9 {10 private int _id;1112 public int Id13 {14 get { return _id; }15 set { _id = value; }16 ... 阅读全文