public PnRelNomencladorXDatoReportableCollection FetchByQuery(Query qry) { PnRelNomencladorXDatoReportableCollection coll = new PnRelNomencladorXDatoReportableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRelNomencladorXDatoReportableCollection FetchAll() { PnRelNomencladorXDatoReportableCollection coll = new PnRelNomencladorXDatoReportableCollection(); Query qry = new Query(PnRelNomencladorXDatoReportable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRelNomencladorXDatoReportableCollection FetchByID(object IdNomencladorXDatoReportable) { PnRelNomencladorXDatoReportableCollection coll = new PnRelNomencladorXDatoReportableCollection().Where("idNomencladorXDatoReportable", IdNomencladorXDatoReportable).Load(); return(coll); }