IConventionEntityType.FindOwnership Method

Definition

Returns the relationship to the owner if this is an owned type or null otherwise.

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? FindOwnership ();
abstract member FindOwnership : unit -> Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey
override this.FindOwnership : unit -> Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey
Public Overridable Function FindOwnership () As IConventionForeignKey

Returns

The relationship to the owner if this is an owned type or null otherwise.

Applies to