Esempio n. 1
0
 public bool InsertData(int id, string name)
 {
     using (Huike.Core.Dao.PersistentManager pm = new PersistentManager("A"))
     {
         DbDaoClass dao = (DbDaoClass)pm.BuildDao("ConnectDataBase.DbDaoClass");
         dao.InsertData(id, name);
         return(pm.Submit());
     }
 }