private static Dictionary <string, NativeStorePropertyDefinition> CreateMapping(NativeStorePropertyDefinition streetProperty, NativeStorePropertyDefinition cityProperty, NativeStorePropertyDefinition stateProperty, NativeStorePropertyDefinition postalProperty, NativeStorePropertyDefinition countryProperty) { return(Util.AddElements <Dictionary <string, NativeStorePropertyDefinition>, KeyValuePair <string, NativeStorePropertyDefinition> >(new Dictionary <string, NativeStorePropertyDefinition>(), new KeyValuePair <string, NativeStorePropertyDefinition>[] { new KeyValuePair <string, NativeStorePropertyDefinition>("Street", streetProperty), new KeyValuePair <string, NativeStorePropertyDefinition>("City", cityProperty), new KeyValuePair <string, NativeStorePropertyDefinition>("State", stateProperty), new KeyValuePair <string, NativeStorePropertyDefinition>("Postal", postalProperty), new KeyValuePair <string, NativeStorePropertyDefinition>("Region", countryProperty) })); }
private static Dictionary <string, NativeStorePropertyDefinition> CreateMapping() { return(Util.AddElements <Dictionary <string, NativeStorePropertyDefinition>, KeyValuePair <string, NativeStorePropertyDefinition> >(new Dictionary <string, NativeStorePropertyDefinition>(), new KeyValuePair <string, NativeStorePropertyDefinition>[] { new KeyValuePair <string, NativeStorePropertyDefinition>("Title", InternalSchema.DisplayNamePrefix), new KeyValuePair <string, NativeStorePropertyDefinition>("First", InternalSchema.GivenName), new KeyValuePair <string, NativeStorePropertyDefinition>("Middle", InternalSchema.MiddleName), new KeyValuePair <string, NativeStorePropertyDefinition>("Last", InternalSchema.Surname), new KeyValuePair <string, NativeStorePropertyDefinition>("Suffix", InternalSchema.Generation), new KeyValuePair <string, NativeStorePropertyDefinition>("Company", InternalSchema.CompanyName), new KeyValuePair <string, NativeStorePropertyDefinition>("Display", InternalSchema.DisplayName) })); }