// 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: // serviceSpecialServiceRequestGroupRcd: primary key of table service_special_service_request_group_ref public CrudeServiceSpecialServiceRequestGroupRefContract FetchByServiceSpecialServiceRequestGroupRcd(string serviceSpecialServiceRequestGroupRcd) { var dataAccessLayer = new CrudeServiceSpecialServiceRequestGroupRefData(); var contract = new CrudeServiceSpecialServiceRequestGroupRefContract(); dataAccessLayer.FetchByServiceSpecialServiceRequestGroupRcd(serviceSpecialServiceRequestGroupRcd); DataToContract(dataAccessLayer, contract); return(contract); }
// 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: // CrudeServiceSpecialServiceRequestGroupRefData: primary key of table CrudeServiceSpecialServiceRequestGroupRefData public CrudeServiceSpecialServiceRequestGroupRefModel FetchByServiceSpecialServiceRequestGroupRcd(string serviceSpecialServiceRequestGroupRcd) { var dataAccessLayer = new CrudeServiceSpecialServiceRequestGroupRefData(); var model = new CrudeServiceSpecialServiceRequestGroupRefModel(); dataAccessLayer.FetchByServiceSpecialServiceRequestGroupRcd(serviceSpecialServiceRequestGroupRcd); DataToModel(dataAccessLayer, model); return(model); }