Beispiel #1
0
        public object GetAObjectEspecial(Type objType, string theID)
        {
            string      whereStr = string.Format("Where ID = '{0}'", theID);
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            return(accesser.GetAObject(whereStr));
        }
Beispiel #2
0
        public object GetAObject(Type objType, string whereStr)
        {
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            return(accesser.GetAObject(whereStr));
        }
        public static object GetAObject(Type objType, string whereStr)
        {
            IDBAccesser accesser = DataEntrance.GetDestDealer(objType);

            return(accesser.GetAObject(whereStr));
        }