src/EntityFramework/ModelConfiguration/Configuration/Mapping/ValueConditionConfiguration.cs
/// <summary>
/// Configures the discriminator value used to identify the entity type being
/// configured from other types in the inheritance hierarchy.
/// </summary>
/// <param name="value"> The value to be used to identify the entity type. </param>
/// <returns> A configuration object to configure the column used to store discriminator values. </returns>
Configures the discriminator value used to identify the entity type being
configured from other types in the inheritance hierarchy.
Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy .
public StringColumnConfiguration HasValue(string value)
        {
            Value = value;
            _entityMappingConfiguration.AddValueCondition(this);
            return
                new StringColumnConfiguration(
                    GetOrCreateConfiguration<Properties.Primitive.StringPropertyConfiguration>());
        }
public StringColumnConfiguration HasValue ( string value ) { Value = value ; _entityMappingConfiguration . AddValueCondition ( this ) ; return new StringColumnConfiguration ( GetOrCreateConfiguration < Properties . Primitive . StringPropertyConfiguration > ( ) ) ; }
Configures the discriminator value used to identify the entity type being
configured from other types in the inheritance hierarchy.
Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy .
A configuration object to configure the column used to store discriminator values.
A configuration object to configure the column used to store discriminator values .
value
string
The value to be used to identify the entity type.
The value to be used to identify the entity type .