public SysMunicipioCollection FetchByQuery(Query qry) { SysMunicipioCollection coll = new SysMunicipioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysMunicipioCollection FetchAll() { SysMunicipioCollection coll = new SysMunicipioCollection(); Query qry = new Query(SysMunicipio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysMunicipioCollection FetchByID(object IdMunicipio) { SysMunicipioCollection coll = new SysMunicipioCollection().Where("idMunicipio", IdMunicipio).Load(); return(coll); }