共用方式為


CreateTableOperation.ForeignKeys 屬性

定義

清單 AddForeignKeyOperation ,用於在資料表中建立外鍵條件約束。

public virtual System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation> ForeignKeys { get; }
member this.ForeignKeys : System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation>
Public Overridable ReadOnly Property ForeignKeys As List(Of AddForeignKeyOperation)

屬性值

適用於