Share via


RelationalEntityTypeAnnotations.SetDiscriminatorValue(Object) Method

Definition

Attempts to set the DiscriminatorValue using the semantics of the RelationalAnnotations in use.

protected virtual bool SetDiscriminatorValue (object value);
abstract member SetDiscriminatorValue : obj -> bool
override this.SetDiscriminatorValue : obj -> bool
Protected Overridable Function SetDiscriminatorValue (value As Object) As Boolean

Parameters

value
Object

The value to set.

Returns

True if the annotation was set; false otherwise.

Applies to