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