Share via


IConventionDiscriminatorBuilder.CanSetIsComplete(Boolean, Boolean) Method

Definition

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

public bool CanSetIsComplete (bool complete, bool fromDataAnnotation = false);
abstract member CanSetIsComplete : bool * bool -> bool
Public Function CanSetIsComplete (complete As Boolean, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

complete
Boolean

The value indicating if this discriminator mapping is complete.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the discriminator value can be set from this configuration source.

Applies to