Condividi tramite


DacDeployOptions.GenerateSmartDefaults Proprietà

Definizione

Ottiene o imposta un valore booleano che specifica se i valori predefiniti devono essere generati per popolare le colonne NULL vincolate a valori NOT 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

Valore della proprietà

True se i valori predefiniti devono essere generati; in caso contrario, false. L'impostazione predefinita è false.

Attributi

Commenti

Questo risulta utile quando è necessario aggiungere una nuova colonna NOT NULL a una tabella esistente contenente dati.

Si applica a