IMutableEntityType.FindOwnership Method

Definition

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

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

Returns

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

Applies to