src/Shared/EntityFramework/ModelConfiguration/Configuration/Types/ConventionTypeConfiguration.cs
/// <summary>
/// Configures a property that is defined on this type.
/// </summary>
/// <param name="propertyName"> The name of the property being configured. </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Configures a property that is defined on this type.
Configures a property that is defined on this type .
public ConventionPrimitivePropertyConfiguration Property(string propertyName)
        {
            Check.NotEmpty(propertyName, "propertyName");
            var propertyInfo = _type.GetInstanceProperty(propertyName);
            if (propertyInfo == null)
            {
                throw new InvalidOperationException(Strings.NoSuchProperty(propertyName, _type.Name));
            }
            return Property(propertyInfo);
        }
public ConventionPrimitivePropertyConfiguration Property ( string propertyName ) { Check . NotEmpty ( propertyName , " " ) ; var propertyInfo = _type . GetInstanceProperty ( propertyName ) ; if ( propertyInfo == null ) { throw new InvalidOperationException ( Strings . NoSuchProperty ( propertyName , _type . Name ) ) ; } return Property ( propertyInfo ) ; }
Configures a property that is defined on this type.
Configures a property that is defined on this type .
A configuration object that can be used to configure the property.
A configuration object that can be used to configure the property .
propertyName
string
The name of the property being configured.
The name of the property being configured .