public ConMotivosDeBloqueoCollection FetchByQuery(Query qry) { ConMotivosDeBloqueoCollection coll = new ConMotivosDeBloqueoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConMotivosDeBloqueoCollection FetchAll() { ConMotivosDeBloqueoCollection coll = new ConMotivosDeBloqueoCollection(); Query qry = new Query(ConMotivosDeBloqueo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConMotivosDeBloqueoCollection FetchByID(object IdMotivoBloqueo) { ConMotivosDeBloqueoCollection coll = new ConMotivosDeBloqueoCollection().Where("idMotivoBloqueo", IdMotivoBloqueo).Load(); return(coll); }