コード例 #1
0
        public object InsertReturnIdentity(object obj, IDbTransaction trans)
        {
            Type        objType  = obj.GetType();
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            return(accesser.InsertReturnIdentity(obj, trans));
        }
コード例 #2
0
        public static object InsertReturnIdentity(object obj, IDbTransaction trans)
        {
            Type        objType  = obj.GetType();
            IDBAccesser accesser = DataEntrance.GetDestDealer(objType);

            return(accesser.InsertReturnIdentity(obj, trans));
        }