DacDeployOptions.GenerateSmartDefaults プロパティ

定義

NOT NULL 値に制約されている NULL 列を設定するために既定値を生成するかどうかを指定するブール値を取得または設定します。

public bool GenerateSmartDefaults { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "GenerateSmartDefaults")]
public bool GenerateSmartDefaults { get; set; }
member this.GenerateSmartDefaults : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "GenerateSmartDefaults")>]
member this.GenerateSmartDefaults : bool with get, set
Public Property GenerateSmartDefaults As Boolean

プロパティ値

既定値を生成する必要がある場合は True。それ以外の場合は false。 既定値は falseです。

属性

注釈

これは、データを含む既存のテーブルに新しい NOT NULL 列を追加する必要がある場合に便利です。

適用対象