예제 #1
0
 public KeyManyToOnePart(KeyManyToOneMapping mapping)
 {
     this.mapping = mapping;
     Access = new AccessStrategyBuilder<KeyManyToOnePart>(this, value => mapping.Access = value);
     NotFound = new NotFoundExpression<KeyManyToOnePart>(this, value => mapping.NotFound = value);
 }
예제 #2
0
 public KeyManyToOnePart(KeyManyToOneMapping mapping)
 {
     this.mapping = mapping;
     Access = new AccessStrategyBuilder<KeyManyToOnePart>(this, value => mapping.Set(x => x.Access, Layer.UserSupplied, value));
     NotFound = new NotFoundExpression<KeyManyToOnePart>(this, value => mapping.Set(x => x.NotFound, Layer.UserSupplied, value));
 }