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