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

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

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

            return(coll);
        }