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
屬性

適用於