public PnNomencladorXPatologiumCollection FetchByQuery(Query qry) { PnNomencladorXPatologiumCollection coll = new PnNomencladorXPatologiumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnNomencladorXPatologiumCollection FetchAll() { PnNomencladorXPatologiumCollection coll = new PnNomencladorXPatologiumCollection(); Query qry = new Query(PnNomencladorXPatologium.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnNomencladorXPatologiumCollection FetchByID(object IdNomencladorXPatologia) { PnNomencladorXPatologiumCollection coll = new PnNomencladorXPatologiumCollection().Where("idNomencladorXPatologia", IdNomencladorXPatologia).Load(); return(coll); }