public CollectionMapper( IPropertyContainerMapper <T> annotationsMap, IEnumerable <CollectionMemberInfoMetadata> collectionProperties) { this.annotationsMap = annotationsMap; this.collectionProperties = collectionProperties; }
private void MapCollections <T>(MappedType mappedType, IPropertyContainerMapper <T> classMapper) where T : class { if (!mappedType.Collections.Any()) { return; } new CollectionMapper <T>(classMapper, mappedType.Collections).Map(); }
private void MapReferences <T>(MappedType mappedType, IPropertyContainerMapper <T> classMapper) where T : class { if (!mappedType.References.Any()) { return; } new ReferenceMapper <T>(classMapper, mappedType.References).Map(); }
public ReferenceMapper(IPropertyContainerMapper <T> annotationsMap, IEnumerable <ReferenceMemberInfoMetadata> referenceProperties) { this.annotationsMap = annotationsMap; this.referenceProperties = referenceProperties; }