public TamEstadioCollection FetchByQuery(Query qry) { TamEstadioCollection coll = new TamEstadioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamEstadioCollection FetchAll() { TamEstadioCollection coll = new TamEstadioCollection(); Query qry = new Query(TamEstadio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamEstadioCollection FetchByID(object IdEstadio) { TamEstadioCollection coll = new TamEstadioCollection().Where("idEstadio", IdEstadio).Load(); return(coll); }