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