DacDeployOptions.GenerateSmartDefaults Propiedad

Definición

Obtiene o establece un valor booleano que especifica si se deben generar valores predeterminados para rellenar columnas NULL 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; de lo contrario, false. El valor predeterminado es falso.

Atributos

Comentarios

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

Se aplica a