public GuardiaAntecedenteCollection FetchByQuery(Query qry) { GuardiaAntecedenteCollection coll = new GuardiaAntecedenteCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaAntecedenteCollection FetchAll() { GuardiaAntecedenteCollection coll = new GuardiaAntecedenteCollection(); Query qry = new Query(GuardiaAntecedente.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaAntecedenteCollection FetchByID(object Id) { GuardiaAntecedenteCollection coll = new GuardiaAntecedenteCollection().Where("id", Id).Load(); return(coll); }