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); }
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)); }