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);
            }
        }
Exemple #2
0
        public object[] GetObjects(Type objType, string whereStr)
        {
            IDBAccesser accesser = this.CreateDBAccesser(objType);

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

            return(accesser.GetObjects(whereStr));
        }