共用方式為


DbMigrationsConfiguration.AutomaticMigrationsEnabled 屬性

定義

取得或設定值,指出移轉資料庫時是否可使用自動移轉。

public bool AutomaticMigrationsEnabled { get; set; }
member this.AutomaticMigrationsEnabled : bool with get, set
Public Property AutomaticMigrationsEnabled As Boolean

屬性值

適用於