public RisEnmiendaCollection FetchByQuery(Query qry) { RisEnmiendaCollection coll = new RisEnmiendaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisEnmiendaCollection FetchAll() { RisEnmiendaCollection coll = new RisEnmiendaCollection(); Query qry = new Query(RisEnmienda.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisEnmiendaCollection FetchByID(object IdEnmienda) { RisEnmiendaCollection coll = new RisEnmiendaCollection().Where("idEnmienda", IdEnmienda).Load(); return(coll); }