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

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

            accesser.Insert(obj, trans);
        }