internal void Configure(DynamoDBContextSection section) { if (section.ElementInformation.IsPresent) { TableNamePrefix = section.TableNamePrefix; AWSSDKUtils.FillDictionary(section.TypeMappings.Items, t => t.Type, t => new TypeMapping(t), TypeMappings); AWSSDKUtils.FillDictionary(section.TableAliases.Items, t => t.FromTable, t => t.ToTable, TableAliases); } }
internal TypeMapping(TypeMappingElement mapping) : this(mapping.Type, mapping.TargetTable) { AWSSDKUtils.FillDictionary(mapping.PropertyConfigs.Items, p => p.Name, p => new PropertyConfig(p), PropertyConfigs); }