次の方法で共有


ReferenceReferenceBuilder.SetPrincipalEntityType メソッド

定義

オーバーロード

SetPrincipalEntityType(String)

リレーションシップのプリンシパルであるエンティティ型を設定します。

SetPrincipalEntityType(Type)

リレーションシップのプリンシパルであるエンティティ型を設定します。

SetPrincipalEntityType(String)

リレーションシップのプリンシパルであるエンティティ型を設定します。

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetPrincipalEntityType (string principalEntityTypeName);
abstract member SetPrincipalEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetPrincipalEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetPrincipalEntityType (principalEntityTypeName As String) As InternalRelationshipBuilder

パラメーター

principalEntityTypeName
String

プリンシパル エンティティ型の名前。

戻り値

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

このリレーションシップの構成に使用されるビルダー。

適用対象

SetPrincipalEntityType(Type)

リレーションシップのプリンシパルであるエンティティ型を設定します。

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetPrincipalEntityType (Type principalEntityType);
abstract member SetPrincipalEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetPrincipalEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetPrincipalEntityType (principalEntityType As Type) As InternalRelationshipBuilder

パラメーター

principalEntityType
Type

プリンシパル エンティティ型。

戻り値

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

このリレーションシップの構成に使用されるビルダー。

適用対象