// 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: // FinancialTaxTypeName: key of table CrudeFinancialTaxTypeRefData public CrudeFinancialTaxTypeRefModel FetchByFinancialTaxTypeName(string financialTaxTypeName) { var dataAccessLayer = new CrudeFinancialTaxTypeRefData(); var model = new CrudeFinancialTaxTypeRefModel(); dataAccessLayer.FetchByFinancialTaxTypeName(financialTaxTypeName); DataToModel(dataAccessLayer, model); return(model); }
public CrudeFinancialTaxTypeRefContract FetchByFinancialTaxTypeName(string financialTaxTypeName) { var dataAccessLayer = new CrudeFinancialTaxTypeRefData(); var contract = new CrudeFinancialTaxTypeRefContract(); dataAccessLayer.FetchByFinancialTaxTypeName(financialTaxTypeName); DataToContract(dataAccessLayer, contract); return(contract); }