src/Shared/EntityFramework/ModelConfiguration/Edm/MetadataPropertyExtensions.cs
// <summary>
// Sets the CLR attributes on a set of properties.
// </summary>
// <param name="metadataProperties">The properties to set attributes on.</param>
// <param name="attributes">The attributes to be set.</param>
Sets the CLR attributes on a set of properties.
Sets the CLR attributes on a set of properties .
public static void SetClrAttributes(
            this ICollection<MetadataProperty> metadataProperties, IList<Attribute> attributes)
        {
            DebugCheck.NotNull(metadataProperties);
            DebugCheck.NotNull(attributes);
            metadataProperties.SetAnnotation(ClrAttributesAnnotation, attributes);
        }
public static void SetClrAttributes ( this ICollection < MetadataProperty > metadataProperties , IList < Attribute > attributes ) { DebugCheck . NotNull ( metadataProperties ) ; DebugCheck . NotNull ( attributes ) ; metadataProperties . SetAnnotation ( ClrAttributesAnnotation , attributes ) ; }
Sets the CLR attributes on a set of properties.
Sets the CLR attributes on a set of properties .
ICollection<MetadataProperty>
this
attributes
IList<Attribute>
The attributes to be set.
The attributes to be set .
metadataProperties
The properties to set attributes on.
The properties to set attributes on .