Share via


ValueConditionConfiguration.HasValue Method

Definition

Overloads

HasValue(String)

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.

HasValue<T>(T)

Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.

HasValue(String)

Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.

public System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration HasValue (string value);
member this.HasValue : string -> System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration
Public Function HasValue (value As String) As StringColumnConfiguration

Parameters

value
String

The value to be used to identify the entity type.

Returns

A configuration object to configure the column used to store discriminator values.

Applies to

HasValue<T>(Nullable<T>)

Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.

public System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration HasValue<T> (Nullable<T> value) where T : struct;
member this.HasValue : Nullable<'T (requires 'T : struct)> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration (requires 'T : struct)
Public Function HasValue(Of T As Structure) (value As Nullable(Of T)) As PrimitiveColumnConfiguration

Type Parameters

T

Type of the discriminator value.

Parameters

value
Nullable<T>

The value to be used to identify the entity type.

Returns

A configuration object to configure the column used to store discriminator values.

Applies to

HasValue<T>(T)

Configures the discriminator value used to identify the entity type being configured from other types in the inheritance hierarchy.

public System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration HasValue<T> (T value) where T : struct;
member this.HasValue : 'T -> System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration (requires 'T : struct)
Public Function HasValue(Of T As Structure) (value As T) As PrimitiveColumnConfiguration

Type Parameters

T

Type of the discriminator value.

Parameters

value
T

The value to be used to identify the entity type.

Returns

A configuration object to configure the column used to store discriminator values.

Applies to