public AprFormaConcejeriumCollection FetchByQuery(Query qry) { AprFormaConcejeriumCollection coll = new AprFormaConcejeriumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprFormaConcejeriumCollection FetchAll() { AprFormaConcejeriumCollection coll = new AprFormaConcejeriumCollection(); Query qry = new Query(AprFormaConcejerium.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprFormaConcejeriumCollection FetchByID(object IdFormaConcejeria) { AprFormaConcejeriumCollection coll = new AprFormaConcejeriumCollection().Where("idFormaConcejeria", IdFormaConcejeria).Load(); return(coll); }