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

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

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

            return(coll);
        }