public GuardiaTurneroCollection FetchByQuery(Query qry) { GuardiaTurneroCollection coll = new GuardiaTurneroCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaTurneroCollection FetchAll() { GuardiaTurneroCollection coll = new GuardiaTurneroCollection(); Query qry = new Query(GuardiaTurnero.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaTurneroCollection FetchByID(object Nombre) { GuardiaTurneroCollection coll = new GuardiaTurneroCollection().Where("nombre", Nombre).Load(); return(coll); }