示例#1
0
        static public void Insert(IEnumerable persistableObjects)
        {
            PersistDAL dal = new PersistDAL();

            dal.p_Insert(persistableObjects);
            dal.dbhelper.Commit();
            dal.dbhelper.CloseConnection();
            dal = null;
        }
示例#2
0
 public static void Insert(IEnumerable persistableObjects)
 {
     PersistDAL dal=new PersistDAL();
     dal.p_Insert(persistableObjects);
     dal.dbhelper.Commit();
     dal.dbhelper.CloseConnection();
     dal=null;
 }