public TypeTableCollection FetchByQuery(Query qry) { TypeTableCollection coll = new TypeTableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TypeTableCollection FetchAll() { TypeTableCollection coll = new TypeTableCollection(); Query qry = new Query(TypeTable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }