// 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: // CrudeDefaultTestRunResultRefData: primary key of table CrudeDefaultTestRunResultRefData public CrudeDefaultTestRunResultRefModel FetchByDefaultTestRunResultRcd(string defaultTestRunResultRcd) { var dataAccessLayer = new CrudeDefaultTestRunResultRefData(); var model = new CrudeDefaultTestRunResultRefModel(); dataAccessLayer.FetchByDefaultTestRunResultRcd(defaultTestRunResultRcd); 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: // defaultTestRunResultRcd: primary key of table default_test_run_result_ref public CrudeDefaultTestRunResultRefContract FetchByDefaultTestRunResultRcd(string defaultTestRunResultRcd) { var dataAccessLayer = new CrudeDefaultTestRunResultRefData(); var contract = new CrudeDefaultTestRunResultRefContract(); dataAccessLayer.FetchByDefaultTestRunResultRcd(defaultTestRunResultRcd); DataToContract(dataAccessLayer, contract); return(contract); }