// 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: // CrudeAirlineIdentifierTypeRefData: primary key of table CrudeAirlineIdentifierTypeRefData public CrudeAirlineIdentifierTypeRefModel FetchByAirlineIdentifierTypeRcd(string airlineIdentifierTypeRcd) { var dataAccessLayer = new CrudeAirlineIdentifierTypeRefData(); var model = new CrudeAirlineIdentifierTypeRefModel(); dataAccessLayer.FetchByAirlineIdentifierTypeRcd(airlineIdentifierTypeRcd); 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: // airlineIdentifierTypeRcd: primary key of table airline_identifier_type_ref public CrudeAirlineIdentifierTypeRefContract FetchByAirlineIdentifierTypeRcd(string airlineIdentifierTypeRcd) { var dataAccessLayer = new CrudeAirlineIdentifierTypeRefData(); var contract = new CrudeAirlineIdentifierTypeRefContract(); dataAccessLayer.FetchByAirlineIdentifierTypeRcd(airlineIdentifierTypeRcd); DataToContract(dataAccessLayer, contract); return(contract); }