src/Shared/EntityFramework/ModelConfiguration/Edm/MetadataPropertyExtensions.cs
// <summary>
// Sets the CLR property info for a set of properties.
// </summary>
// <param name="metadataProperties">The properties to set CLR property info for.</param>
// <param name="propertyInfo">The property info.</param>
Sets the CLR property info for a set of properties.
Sets the CLR property info for a set of properties .
public static void SetClrPropertyInfo(
            this ICollection<MetadataProperty> metadataProperties, PropertyInfo propertyInfo)
        {
            DebugCheck.NotNull(metadataProperties);
            DebugCheck.NotNull(propertyInfo);
            metadataProperties.SetAnnotation(ClrPropertyInfoAnnotation, propertyInfo);
        }
public static void SetClrPropertyInfo ( this ICollection < MetadataProperty > metadataProperties , PropertyInfo propertyInfo ) { DebugCheck . NotNull ( metadataProperties ) ; DebugCheck . NotNull ( propertyInfo ) ; metadataProperties . SetAnnotation ( ClrPropertyInfoAnnotation , propertyInfo ) ; }
Sets the CLR property info for a set of properties.
Sets the CLR property info for a set of properties .
ICollection<MetadataProperty>
this
propertyInfo
PropertyInfo
The property info.
The property info .
metadataProperties
The properties to set CLR property info for.
The properties to set CLR property info for .