다음을 통해 공유


RelationalForeignKeyExtensions.GetConstraintName 메서드

정의

오버로드

GetConstraintName(IForeignKey)

외래 키 제약 조건 이름을 반환합니다.

GetConstraintName(IReadOnlyForeignKey)

외래 키 제약 조건 이름을 반환합니다.

GetConstraintName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

외래 키 제약 조건 이름을 반환합니다.

GetConstraintName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

외래 키 제약 조건 이름을 반환합니다.

GetConstraintName(IForeignKey)

외래 키 제약 조건 이름을 반환합니다.

public static string GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IForeignKey) As String

매개 변수

foreignKey
IForeignKey

외래 키입니다.

반환

외래 키 제약 조건 이름입니다.

적용 대상

GetConstraintName(IReadOnlyForeignKey)

외래 키 제약 조건 이름을 반환합니다.

public static string? GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IReadOnlyForeignKey) As String

매개 변수

foreignKey
IReadOnlyForeignKey

외래 키입니다.

반환

외래 키 제약 조건 이름입니다.

적용 대상

GetConstraintName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

외래 키 제약 조건 이름을 반환합니다.

public static string GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String

매개 변수

foreignKey
IForeignKey

외래 키입니다.

storeObject
StoreObjectIdentifier

포함하는 저장소 개체의 식별자입니다.

principalStoreObject
StoreObjectIdentifier

주 저장소 개체의 식별자입니다.

반환

외래 키 제약 조건 이름입니다.

적용 대상

GetConstraintName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

외래 키 제약 조건 이름을 반환합니다.

public static string? GetConstraintName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetConstraintName (foreignKey As IReadOnlyForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String

매개 변수

foreignKey
IReadOnlyForeignKey

외래 키입니다.

storeObject
StoreObjectIdentifier

포함하는 저장소 개체의 식별자입니다.

principalStoreObject
StoreObjectIdentifier

주 저장소 개체의 식별자입니다.

반환

외래 키 제약 조건 이름입니다.

적용 대상