A Dto persistence class to store an Income object.
Beispiel #1
0
 partial void ToModelPostprocessing(IncomeDto dto, ref Income model)
 {
     model.Bucket = this.bucketRepo.GetByCode(dto.BudgetBucketCode);
 }
 partial void ToModelPostprocessing(IncomeDto dto, ref Income model)
 {
     model.Bucket = this.bucketRepo.GetByCode(dto.BudgetBucketCode);
 }
Beispiel #3
0
 partial void ToDtoPostprocessing(ref IncomeDto dto, Income model)
 {
     dto.BudgetBucketCode = model.Bucket.Code;
 }
 partial void ToDtoPostprocessing(ref IncomeDto dto, Income model)
 {
     dto.BudgetBucketCode = model.Bucket.Code;
 }