public FacContratoObraSocialCollection FetchByQuery(Query qry) { FacContratoObraSocialCollection coll = new FacContratoObraSocialCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacContratoObraSocialCollection FetchAll() { FacContratoObraSocialCollection coll = new FacContratoObraSocialCollection(); Query qry = new Query(FacContratoObraSocial.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacContratoObraSocialCollection FetchByID(object IdContratoObraSocial) { FacContratoObraSocialCollection coll = new FacContratoObraSocialCollection().Where("idContratoObraSocial", IdContratoObraSocial).Load(); return(coll); }