共用方式為


PublishOptions.GenerateDeploymentScript Property

Definition

Sets whether Deployment Script(s) should be generated during deploy. If true, a script to update the database will be generated, and a script to update Master may also be generated if the target is an Azure SQL DB and this database has not yet been created.

public bool GenerateDeploymentScript { get; set; }
member this.GenerateDeploymentScript : bool with get, set
Public Property GenerateDeploymentScript As Boolean

Property Value

Defaults to true

Applies to