Beispiel #1
0
        public void Update(object obj, IDbTransaction trans)
        {
            Type        objType  = obj.GetType();
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            accesser.Update(obj, trans);
        }
        public static void Update(object obj, IDbTransaction trans)
        {
            Type        objType  = obj.GetType();
            IDBAccesser accesser = DataEntrance.GetDestDealer(objType);

            accesser.Update(obj, trans);
        }