public object InsertReturnIdentity(object obj, IDbTransaction trans) { Type objType = obj.GetType(); IDBAccesser accesser = this.CreateDBAccesser(objType); return(accesser.InsertReturnIdentity(obj, trans)); }
public static object InsertReturnIdentity(object obj, IDbTransaction trans) { Type objType = obj.GetType(); IDBAccesser accesser = DataEntrance.GetDestDealer(objType); return(accesser.InsertReturnIdentity(obj, trans)); }