Esempio n. 1
0
        public TDataTypeCollection FetchByQuery(Query qry)
        {
            var coll = new TDataTypeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public TDataTypeCollection FetchAll()
        {
            var coll = new TDataTypeCollection();
            var qry  = new Query(TDataType.Schema);

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

            return(coll);
        }