// fetch by Primary key into current object // links: // crud definition: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete // docLink: http://sql2x.org/documentationLink/fdcc33b4-08f1-43c3-ae28-95fbf029c3bd // parameters: // CrudeReportingRoundupTypeRefData: primary key of table CrudeReportingRoundupTypeRefData public CrudeReportingRoundupTypeRefModel FetchByReportingRoundupTypeRcd(string reportingRoundupTypeRcd) { var dataAccessLayer = new CrudeReportingRoundupTypeRefData(); var model = new CrudeReportingRoundupTypeRefModel(); dataAccessLayer.FetchByReportingRoundupTypeRcd(reportingRoundupTypeRcd); DataToModel(dataAccessLayer, model); return(model); }
// fetch by Primary key into current object // links: // crud definition: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete // docLink: http://sql2x.org/documentationLink/bbab4791-c9e7-49bf-90d5-fca19b1fedaa // parameters: // reportingRoundupTypeRcd: primary key of table reporting_roundup_type_ref public CrudeReportingRoundupTypeRefContract FetchByReportingRoundupTypeRcd(string reportingRoundupTypeRcd) { var dataAccessLayer = new CrudeReportingRoundupTypeRefData(); var contract = new CrudeReportingRoundupTypeRefContract(); dataAccessLayer.FetchByReportingRoundupTypeRcd(reportingRoundupTypeRcd); DataToContract(dataAccessLayer, contract); return(contract); }