Share via


IConventionDiscriminatorBuilder Interface

Definition

Provides a simple API surface for setting discriminator values from conventions.

public interface IConventionDiscriminatorBuilder
type IConventionDiscriminatorBuilder = interface
Public Interface IConventionDiscriminatorBuilder
Derived

Remarks

See Model building conventions for more information and examples.

Properties

EntityType

Gets the entity type on which the discriminator is being configured.

Methods

CanSetIsComplete(Boolean, Boolean)

Returns a value indicating whether the discriminator mapping is complete can be set from this configuration source.

CanSetValue(IConventionEntityType, Object, Boolean)

Returns a value indicating whether the discriminator value can be set from this configuration source.

CanSetValue(Object, Boolean)

Returns a value indicating whether the discriminator value can be set from this configuration source.

HasValue(IConventionEntityType, Object, Boolean)

Configures the discriminator value to use for entities of the given type.

HasValue(Object, Boolean)

Configures the discriminator value to use.

IsComplete(Boolean, Boolean)

Configures if the discriminator mapping is complete.

Applies to