partial void ToDtoPostprocessing(ref MatchingRuleDto dto, MatchingRule model) { dto.BucketCode = model.Bucket.Code; }
partial void ToModelPostprocessing(MatchingRuleDto dto, ref MatchingRule model) { model.BucketCode = dto.BucketCode; }
// ReSharper disable once RedundantAssignment partial void ModelFactory(MatchingRuleDto dto, ref MatchingRule model) { model = new MatchingRule(this.bucketRepo); }
partial void ToModelPostprocessing(MatchingRuleDto dto, ref MatchingRule model) { model.BucketCode = dto.BucketCode; }
partial void ToDtoPostprocessing(ref MatchingRuleDto dto, MatchingRule model) { dto.BucketCode = model.Bucket.Code; }
// ReSharper disable once RedundantAssignment partial void ModelFactory(MatchingRuleDto dto, ref MatchingRule model) { model = new MatchingRule(this.bucketRepo); }
public void TestInitialise() { TestData = new MatchingRuleDto { Created = new DateTime(2014, 1, 2), Amount = 123.45M, BucketCode = "CARMTC", Description = "Testing Description", LastMatch = new DateTime(2014, 06, 22), MatchCount = 2, Reference1 = "Testing Reference1", Reference2 = "Testing Reference2", Reference3 = "Testing Reference3", TransactionType = "Testing TransactionType", }; }