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

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

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

            return(coll);
        }