public GuardiaTipoPracticaCollection FetchByQuery(Query qry) { GuardiaTipoPracticaCollection coll = new GuardiaTipoPracticaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaTipoPracticaCollection FetchAll() { GuardiaTipoPracticaCollection coll = new GuardiaTipoPracticaCollection(); Query qry = new Query(GuardiaTipoPractica.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaTipoPracticaCollection FetchByID(object Id) { GuardiaTipoPracticaCollection coll = new GuardiaTipoPracticaCollection().Where("id", Id).Load(); return(coll); }