public AutTipoEntidadCollection FetchByQuery(Query qry) { AutTipoEntidadCollection coll = new AutTipoEntidadCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutTipoEntidadCollection FetchAll() { AutTipoEntidadCollection coll = new AutTipoEntidadCollection(); Query qry = new Query(AutTipoEntidad.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutTipoEntidadCollection FetchByID(object IdTipoEntidad) { AutTipoEntidadCollection coll = new AutTipoEntidadCollection().Where("idTipoEntidad", IdTipoEntidad).Load(); return(coll); }