Exemple #1
0
 public DtoPropertyMappingBuilder(
     TypedEntityPropertyRegistration <TDto> dtoProperty,
     AggregatorMapping <TDto, TDb> mapping)
 {
     _mapping     = mapping;
     _dtoProperty = dtoProperty;
 }
Exemple #2
0
        public TypedEntityPropertyConverter(
            TypedEntityPropertyRegistration <TSource> sourceProperty,
            TypedEntityPropertyRegistration <TDestination> destinationProperty)
        {
            Requires.NotNull(sourceProperty, nameof(sourceProperty));
            Requires.NotNull(destinationProperty, nameof(destinationProperty));

            _sourceProperty      = sourceProperty;
            _destinationProperty = destinationProperty;
        }