Exemple #1
0
        public void InsertBatch(ArrayList objs, IDbTransaction trans)
        {
            Type        objType  = objs[0].GetType();
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            accesser.InsertBatch(objs, trans);
        }
        public static void InsertBatch(ArrayList objs, IDbTransaction trans)
        {
            Type        objType  = objs[0].GetType();
            IDBAccesser accesser = DataEntrance.GetDestDealer(objType);

            accesser.InsertBatch(objs, trans);
        }