private void LoadOneOptoticData(AptoticDataInformation info)
        {
            if (this.htableData[info.DataClassType] != null)
            {
                return;
            }

            IDBAccesser accesser = this.dbAccesserFactory.CreateDBAccesser(this.curDbType, info.ConnStr, info.DataClassType, null);

            if (accesser == null)
            {
                return;
            }

            object[] objs = accesser.GetObjects("");
            if (objs != null)
            {
                this.htableData.Add(info.DataClassType, objs);
            }
        }
Exemplo n.º 2
0
        public object[] GetObjects(Type objType, string whereStr)
        {
            IDBAccesser accesser = this.CreateDBAccesser(objType);

            return(accesser.GetObjects(whereStr));
        }
Exemplo n.º 3
0
        public static object[] GetObjects(Type objType, string whereStr)
        {
            IDBAccesser accesser = DataEntrance.GetDestDealer(objType);

            return(accesser.GetObjects(whereStr));
        }