다음을 통해 공유


AddForeignKeyOperation.CreateFrom(IForeignKeyConstraint) 메서드

정의

지정된 외래 키에서 새 AddForeignKeyOperation 를 만듭니다.

public static Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation CreateFrom (Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint foreignKey);
static member CreateFrom : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint -> Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation
Public Shared Function CreateFrom (foreignKey As IForeignKeyConstraint) As AddForeignKeyOperation

매개 변수

foreignKey
IForeignKeyConstraint

외래 키입니다.

반환

작업입니다.

적용 대상