// 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: // airportSupplierLinkId: primary key of table airport_supplier_link public CrudeAirportSupplierLinkContract FetchByAirportSupplierLinkId(System.Guid airportSupplierLinkId) { var dataAccessLayer = new CrudeAirportSupplierLinkData(); var contract = new CrudeAirportSupplierLinkContract(); dataAccessLayer.FetchByAirportSupplierLinkId(airportSupplierLinkId); 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: // CrudeAirportSupplierLinkData: primary key of table CrudeAirportSupplierLinkData public CrudeAirportSupplierLinkModel FetchByAirportSupplierLinkId(System.Guid airportSupplierLinkId) { var dataAccessLayer = new CrudeAirportSupplierLinkData(); var model = new CrudeAirportSupplierLinkModel(); dataAccessLayer.FetchByAirportSupplierLinkId(airportSupplierLinkId); DataToModel(dataAccessLayer, model); return(model); }