EntityTypeBuilder.FindRelatedEntityType Method

Definition

Overloads

FindRelatedEntityType(String, String)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

FindRelatedEntityType(Type, String)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

FindRelatedEntityType(String, String)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType FindRelatedEntityType (string relatedTypeName, string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType FindRelatedEntityType (string relatedTypeName, string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType FindRelatedEntityType (string relatedTypeName, string? navigationName);
abstract member FindRelatedEntityType : string * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.FindRelatedEntityType : string * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member FindRelatedEntityType : string * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.FindRelatedEntityType : string * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
Protected Overridable Function FindRelatedEntityType (relatedTypeName As String, navigationName As String) As EntityType

Parameters

relatedTypeName
String
navigationName
String

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
Attributes

Applies to

FindRelatedEntityType(Type, String)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType FindRelatedEntityType (Type relatedType, string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType FindRelatedEntityType (Type relatedType, string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType FindRelatedEntityType (Type relatedType, string? navigationName);
abstract member FindRelatedEntityType : Type * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.FindRelatedEntityType : Type * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member FindRelatedEntityType : Type * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.FindRelatedEntityType : Type * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
Protected Overridable Function FindRelatedEntityType (relatedType As Type, navigationName As String) As EntityType

Parameters

relatedType
Type
navigationName
String

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
Attributes

Applies to