NHibernate的一个简单例子NHibernateSamplenh=newNHibernateSample(newNHibernateHelper().GetSession());TDS_EASBEbe=newTDS_EASBE();be.Id=5;be.Ip="172.16.133.105";be.Name="TDS_WSDServer5";inta=nh.CreateCustomer(be);System.Console.