// 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: // aircraftIdentifierTypeRcd: primary key of table aircraft_identifier_type_ref public CrudeAircraftIdentifierTypeRefContract FetchByAircraftIdentifierTypeRcd(string aircraftIdentifierTypeRcd) { var dataAccessLayer = new CrudeAircraftIdentifierTypeRefData(); var contract = new CrudeAircraftIdentifierTypeRefContract(); dataAccessLayer.FetchByAircraftIdentifierTypeRcd(aircraftIdentifierTypeRcd); 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: // CrudeAircraftIdentifierTypeRefData: primary key of table CrudeAircraftIdentifierTypeRefData public CrudeAircraftIdentifierTypeRefModel FetchByAircraftIdentifierTypeRcd(string aircraftIdentifierTypeRcd) { var dataAccessLayer = new CrudeAircraftIdentifierTypeRefData(); var model = new CrudeAircraftIdentifierTypeRefModel(); dataAccessLayer.FetchByAircraftIdentifierTypeRcd(aircraftIdentifierTypeRcd); DataToModel(dataAccessLayer, model); return(model); }