public virtual PropertyDictionaryValueEntity FromModel(PropertyDictionaryItemLocalizedValue localizedValue, PrimaryKeyResolvingMap pkMap) { if (localizedValue == null) { throw new ArgumentNullException(nameof(localizedValue)); } Locale = localizedValue.LanguageCode; Value = localizedValue.Value; return(this); }
public virtual PropertyDictionaryItemLocalizedValue ToModel(PropertyDictionaryItemLocalizedValue localizedValue) { if (localizedValue == null) { throw new ArgumentNullException(nameof(localizedValue)); } localizedValue.LanguageCode = Locale; localizedValue.Value = Value; return(localizedValue); }