src/Shared/EntityFramework/ModelConfiguration/Edm/MetadataPropertyExtensions.cs
// <summary>
// Gets the CLR attributes defined on a set of properties.
// </summary>
// <param name="metadataProperties">The properties to get attributes from.</param>
// <returns>The attributes.</returns>
Gets the CLR attributes defined on a set of properties.
Gets the CLR attributes defined on a set of properties .
public static IList<Attribute> GetClrAttributes(this IEnumerable<MetadataProperty> metadataProperties)
        {
            DebugCheck.NotNull(metadataProperties);
            return (IList<Attribute>)metadataProperties.GetAnnotation(ClrAttributesAnnotation);
        }
public static IList < Attribute > GetClrAttributes ( this IEnumerable < MetadataProperty > metadataProperties ) { DebugCheck . NotNull ( metadataProperties ) ; return ( IList < Attribute > ) metadataProperties . GetAnnotation ( ClrAttributesAnnotation ) ; }
Gets the CLR attributes defined on a set of properties.
Gets the CLR attributes defined on a set of properties .
None
IEnumerable<MetadataProperty>
this
metadataProperties
The properties to get attributes from.
The properties to get attributes from .