Example #1
0
 public PrimitiveMapper(
     IMinimalPlainPropertyContainerMapper <T> annotationsMap,
     IEnumerable <PrimitiveMemberInfoMetadata> properties)
 {
     this.annotationsMap = annotationsMap;
     this.properties     = properties;
 }
Example #2
0
        private void MapPrimitives <T>(MappedType mappedType, IMinimalPlainPropertyContainerMapper <T> classMapper)
            where T : class
        {
            if (!mappedType.Primitives.Any())
            {
                return;
            }

            new PrimitiveMapper <T>(classMapper, mappedType.Primitives).Map();
        }