Пример #1
0
        public TTestReasonCollection FetchByQuery(Query qry)
        {
            var coll = new TTestReasonCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public TTestReasonCollection FetchAll()
        {
            var coll = new TTestReasonCollection();
            var qry  = new Query(TTestReason.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public TTestReasonCollection FetchByID(object Id)
        {
            TTestReasonCollection coll = new TTestReasonCollection().Where("ID", Id).Load();

            return(coll);
        }