public TTestgroupListCollection FetchByQuery(Query qry)
        {
            var coll = new TTestgroupListCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TTestgroupListCollection FetchAll()
        {
            var coll = new TTestgroupListCollection();
            var qry  = new Query(TTestgroupList.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TTestgroupListCollection FetchByID(object TestGroupId)
        {
            TTestgroupListCollection coll = new TTestgroupListCollection().Where("TestGroup_ID", TestGroupId).Load();

            return(coll);
        }