共用方式為


RuntimeModel.IReadOnlyModel.GetEmbeddedDiscriminatorName Method

Definition

Gets the name to use for discriminator properties embedded in JSON documents. The default is "$type".

[System.Diagnostics.DebuggerStepThrough]
string IReadOnlyModel.GetEmbeddedDiscriminatorName ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.GetEmbeddedDiscriminatorName : unit -> string
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.GetEmbeddedDiscriminatorName : unit -> string
Function GetEmbeddedDiscriminatorName () As String Implements IReadOnlyModel.GetEmbeddedDiscriminatorName

Returns

The name.

Implements

Attributes

Applies to