CollectionOwnershipBuilder.FindRelatedEntityType 方法

定义

重载

FindRelatedEntityType(String, String)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

FindRelatedEntityType(Type, String)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

FindRelatedEntityType(String, String)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

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
Protected Overridable Function FindRelatedEntityType (relatedTypeName As String, navigationName As String) As EntityType

参数

relatedTypeName
String
navigationName
String

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType

适用于

FindRelatedEntityType(Type, String)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

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
Protected Overridable Function FindRelatedEntityType (relatedType As Type, navigationName As String) As EntityType

参数

relatedType
Type
navigationName
String

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType

适用于