src/Shared/EntityFramework/ModelConfiguration/Edm/MetadataPropertyExtensions.cs
// <summary>
// Sets the CLR type for a set of properties.
// </summary>
// <param name="metadataProperties">The properties to set the CLR type for.</param>
// <param name="type">The CLR type.</param>
Sets the CLR type for a set of properties.
Sets the CLR type for a set of properties .
public static void SetClrType(this ICollection<MetadataProperty> metadataProperties, Type type)
        {
            DebugCheck.NotNull(metadataProperties);
            DebugCheck.NotNull(type);
            metadataProperties.SetAnnotation(XmlConstants.ClrTypeAnnotationWithPrefix, type);
        }
public static void SetClrType ( this ICollection < MetadataProperty > metadataProperties , Type type ) { DebugCheck . NotNull ( metadataProperties ) ; DebugCheck . NotNull ( type ) ; metadataProperties . SetAnnotation ( XmlConstants . ClrTypeAnnotationWithPrefix , type ) ; }
Sets the CLR type for a set of properties.
Sets the CLR type for a set of properties .
ICollection<MetadataProperty>
this
type
Type
The CLR type.
The CLR type .
metadataProperties
The properties to set the CLR type for.
The properties to set the CLR type for .