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