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); }
public RisAseguradoraCollection FetchByID(object IdAseguradora) { RisAseguradoraCollection coll = new RisAseguradoraCollection().Where("idAseguradora", IdAseguradora).Load(); return(coll); }