Compartir a través de


DacDeployOptions.GenerateSmartDefaults Propiedad

Definición

Obtiene o establece un valor booleano que especifica si se deben generar los valores predeterminados para rellenar las columnas NULL que están restringidas a valores 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

Valor de propiedad

True si se deben generar valores predeterminados; en caso contrario, false. El valor predeterminado es False.

Atributos

Comentarios

Esto es útil cuando se necesita agregar una nueva columna NOT NULL a una tabla existente con datos.

Se aplica a