RelationalEntityTypeAnnotations.GetNonRootDiscriminatorProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the IProperty set to be used for a discriminator on this type without traversing to base types.
protected virtual Microsoft.EntityFrameworkCore.Metadata.IProperty GetNonRootDiscriminatorProperty ();
abstract member GetNonRootDiscriminatorProperty : unit -> Microsoft.EntityFrameworkCore.Metadata.IProperty
override this.GetNonRootDiscriminatorProperty : unit -> Microsoft.EntityFrameworkCore.Metadata.IProperty
Protected Overridable Function GetNonRootDiscriminatorProperty () As IProperty
Returns
The property found, or null
if no matching property was found.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework