public ConTurnoCollection FetchByQuery(Query qry) { ConTurnoCollection coll = new ConTurnoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConTurnoCollection FetchAll() { ConTurnoCollection coll = new ConTurnoCollection(); Query qry = new Query(ConTurno.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConTurnoCollection FetchByID(object IdTurno) { ConTurnoCollection coll = new ConTurnoCollection().Where("idTurno", IdTurno).Load(); return(coll); }