次の方法で共有


IMutableForeignKey.HasPrincipalToDependent メソッド

定義

オーバーロード

HasPrincipalToDependent(MemberInfo)
古い.

依存エンティティを指すプリンシパル エンティティ型のナビゲーション プロパティを設定します。

HasPrincipalToDependent(PropertyInfo)

依存エンティティを指すプリンシパル エンティティ型のナビゲーション プロパティを設定します。

HasPrincipalToDependent(String)
古い.

依存エンティティを指すプリンシパル エンティティ型のナビゲーション プロパティを設定します。

HasPrincipalToDependent(MemberInfo)

注意事項

Use SetPrincipalToDependent

依存エンティティを指すプリンシパル エンティティ型のナビゲーション プロパティを設定します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation HasPrincipalToDependent (System.Reflection.MemberInfo property);
[System.Obsolete("Use SetPrincipalToDependent")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation HasPrincipalToDependent (System.Reflection.MemberInfo property);
[System.Obsolete("Use SetPrincipalToDependent")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? HasPrincipalToDependent (System.Reflection.MemberInfo? property);
abstract member HasPrincipalToDependent : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
[<System.Obsolete("Use SetPrincipalToDependent")>]
abstract member HasPrincipalToDependent : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
override this.HasPrincipalToDependent : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function HasPrincipalToDependent (property As MemberInfo) As IMutableNavigation
Public Overridable Function HasPrincipalToDependent (property As MemberInfo) As IMutableNavigation

パラメーター

property
MemberInfo

プリンシパルの種類のナビゲーション プロパティの名前。 を渡すと null 、ナビゲーション プロパティが定義されません。

戻り値

新しく作成されたナビゲーション プロパティ。

属性

適用対象

HasPrincipalToDependent(PropertyInfo)

依存エンティティを指すプリンシパル エンティティ型のナビゲーション プロパティを設定します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation HasPrincipalToDependent (System.Reflection.PropertyInfo property);
abstract member HasPrincipalToDependent : System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function HasPrincipalToDependent (property As PropertyInfo) As IMutableNavigation

パラメーター

property
PropertyInfo

プリンシパルの種類のナビゲーション プロパティの名前。 null を渡すと、ナビゲーション プロパティが定義されません。

戻り値

新しく作成されたナビゲーション プロパティ。

適用対象

HasPrincipalToDependent(String)

注意事項

Use SetPrincipalToDependent

依存エンティティを指すプリンシパル エンティティ型のナビゲーション プロパティを設定します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation HasPrincipalToDependent (string name);
[System.Obsolete("Use SetPrincipalToDependent")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation HasPrincipalToDependent (string name);
[System.Obsolete("Use SetPrincipalToDependent")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? HasPrincipalToDependent (string? name);
abstract member HasPrincipalToDependent : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
[<System.Obsolete("Use SetPrincipalToDependent")>]
abstract member HasPrincipalToDependent : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
override this.HasPrincipalToDependent : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function HasPrincipalToDependent (name As String) As IMutableNavigation
Public Overridable Function HasPrincipalToDependent (name As String) As IMutableNavigation

パラメーター

name
String

プリンシパルの種類のナビゲーション プロパティの名前。 を渡すと null 、ナビゲーション プロパティが定義されません。

戻り値

新しく作成されたナビゲーション プロパティ。

属性

適用対象