// fetch by Search key into current object // links: // crud definition: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete // docLink: http://sql2x.org/documentationLink/ad2dd952-e3ec-471a-9e34-f5fc965b8b37 // parameters: // FinancialBankAccountNumberTypeName: key of table CrudeFinancialBankAccountNumberTypeRefData public CrudeFinancialBankAccountNumberTypeRefModel FetchByFinancialBankAccountNumberTypeName(string financialBankAccountNumberTypeName) { var dataAccessLayer = new CrudeFinancialBankAccountNumberTypeRefData(); var model = new CrudeFinancialBankAccountNumberTypeRefModel(); dataAccessLayer.FetchByFinancialBankAccountNumberTypeName(financialBankAccountNumberTypeName); DataToModel(dataAccessLayer, model); return(model); }
public CrudeFinancialBankAccountNumberTypeRefContract FetchByFinancialBankAccountNumberTypeName(string financialBankAccountNumberTypeName) { var dataAccessLayer = new CrudeFinancialBankAccountNumberTypeRefData(); var contract = new CrudeFinancialBankAccountNumberTypeRefContract(); dataAccessLayer.FetchByFinancialBankAccountNumberTypeName(financialBankAccountNumberTypeName); DataToContract(dataAccessLayer, contract); return(contract); }