EntityTypeBuilder.FindRelatedEntityType 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.
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
- 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
- Attributes
Applies to
Entity Framework