src/Shared/EntityFramework/Core/Metadata/Edm/MetadataProperty.cs
/// <summary>
/// The factory method for constructing the MetadataProperty object.
/// </summary>
/// <param name="name">The name of the metadata property.</param>
/// <param name="typeUsage">The type usage of the metadata property.</param>
/// <param name="value">The value of the metadata property.</param>
/// <returns>The MetadataProperty object.</returns>
/// <exception cref="System.NullReferenceException">
/// Thrown <paramref name="typeUsage" /> is <c>null</c>.
/// </exception>
/// <remarks>The newly created MetadataProperty will be read only.</remarks>
The factory method for constructing the MetadataProperty object.
The factory method for constructing the MetadataProperty object .
public static MetadataProperty Create(string name, TypeUsage typeUsage, object value)
        {
            Check.NotEmpty(name, "name");
            Check.NotNull(typeUsage, "typeUsage");
            var metadataProperty = new MetadataProperty(name, typeUsage, value);
            metadataProperty.SetReadOnly();
            return metadataProperty;
        }
public static MetadataProperty Create ( string name , TypeUsage typeUsage , object value ) { Check . NotEmpty ( name , " " ) ; Check . NotNull ( typeUsage , " " ) ; var metadataProperty = new MetadataProperty ( name , typeUsage , value ) ; metadataProperty . SetReadOnly ( ) ; return metadataProperty ; }
The factory method for constructing the MetadataProperty object.
The factory method for constructing the MetadataProperty object .
The MetadataProperty object.
The MetadataProperty object .
Thrown  is null
Thrown is null
name
string
The name of the metadata property.
The name of the metadata property .
typeUsage
TypeUsage
The type usage of the metadata property.
The type usage of the metadata property .
value
object
The value of the metadata property.
The value of the metadata property .
remarks
The newly created MetadataProperty will be read only.
The newly created MetadataProperty will be read only .