public AprEtniumCollection FetchByQuery(Query qry) { AprEtniumCollection coll = new AprEtniumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprEtniumCollection FetchAll() { AprEtniumCollection coll = new AprEtniumCollection(); Query qry = new Query(AprEtnium.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprEtniumCollection FetchByID(object IdEtnia) { AprEtniumCollection coll = new AprEtniumCollection().Where("idEtnia", IdEtnia).Load(); return(coll); }