示例#1
0
        public TDataTypeCollection FetchByQuery(Query qry)
        {
            TDataTypeCollection coll = new TDataTypeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public TDataTypeCollection FetchAll()
        {
            TDataTypeCollection coll = new TDataTypeCollection();
            Query qry = new Query(TDataType.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public TDataTypeCollection FetchByID(object DataTypeId)
        {
            TDataTypeCollection coll = new TDataTypeCollection().Where("DataType_ID", DataTypeId).Load();

            return(coll);
        }