ReferenceReferenceBuilder.SetPrincipalEntityType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
このリレーションシップの構成に使用されるビルダー。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示