Пример #1
0
 // 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/87368fa6-b618-4f0c-acbb-1fc4e273bb2d
 // parameters:
 //  FinancialCurrencyId: key of table CrudeFinancialVoucherData
 public List <CrudeFinancialVoucherModel> FetchByFinancialCurrencyId(System.Guid financialCurrencyId)
 {
     return(DataListToModelList(CrudeFinancialVoucherData.FetchByFinancialCurrencyId(financialCurrencyId)));
 }
 // fetch by Foreign key into new List of class instances
 // links:
 //  docLink: http://sql2x.org/documentationLink/a7599485-4f00-4ebf-974d-53f69c43654e
 public List <CrudeFinancialVoucherContract> FetchByFinancialCurrencyId(System.Guid financialCurrencyId)
 {
     return(DataListToContractList(CrudeFinancialVoucherData.FetchByFinancialCurrencyId(financialCurrencyId)));
 }