ValueConditionConfiguration.HasValue Method
Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | HasValue(String) | Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy. |
![]() | HasValue<T>(T) | Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy. |
![]() | HasValue<T>(Nullable<T>) | Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy. |
ValueConditionConfiguration.HasValue Method (String)
Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.
Parameters
- value
-
Type:
System.String
The value to be used to identify the entity type.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfigurationA configuration object to configure the column used to store discriminator values.
ValueConditionConfiguration.HasValue<T> Method (T)
Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.
Parameters
- value
-
Type:
T
The value to be used to identify the entity type.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfigurationA configuration object to configure the column used to store discriminator values.
Type Parameters
- T
Type of the discriminator value.
ValueConditionConfiguration.HasValue<T> Method (Nullable<T>)
Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.
Parameters
- value
-
Type:
System.Nullable<T>
The value to be used to identify the entity type.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfigurationA configuration object to configure the column used to store discriminator values.
Type Parameters
- T
Type of the discriminator value.