OwnedNavigationBuilder.FindRelatedEntityType 方法

定义

重载

FindRelatedEntityType(String, String)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

FindRelatedEntityType(Type, String)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

FindRelatedEntityType(String, String)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[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);
[<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

参数

relatedTypeName
String
navigationName
String

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
属性

适用于

FindRelatedEntityType(Type, String)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[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);
[<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

参数

relatedType
Type
navigationName
String

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
属性

适用于