示例#1
0
        public void Delete(Type objType, object ID, IDbTransaction trans)
        {
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            accesser.Delete(ID, trans);
        }
示例#2
0
        public static void Delete(Type objType, object ID, IDbTransaction trans)          //ID一般为int或string类型
        {
            IDBAccesser accesser = DataEntrance.GetDestDealer(objType);

            accesser.Delete(ID, trans);
        }