public PnResponsableCollection FetchByQuery(Query qry) { PnResponsableCollection coll = new PnResponsableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnResponsableCollection FetchAll() { PnResponsableCollection coll = new PnResponsableCollection(); Query qry = new Query(PnResponsable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnResponsableCollection FetchByID(object IdResponsables) { PnResponsableCollection coll = new PnResponsableCollection().Where("id_responsables", IdResponsables).Load(); return(coll); }