DacDeployOptions.GenerateSmartDefaults Proprietà

Definizione

Ottiene o imposta un valore booleano che specifica se i valori predefiniti devono essere generati per popolare 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. Il valore predefinito è false.

Attributi

Commenti

Ciò è utile quando è necessario aggiungere una nuova colonna NOT NULL a una tabella esistente con dati.

Si applica a