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