DeploymentProjectBuilder Class
This class is loaded at build time to create the artifacts that are needed at deployment time. This includes the stub MSBuild project that is used to execute the deploy task and the deployment configuration file.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Build.DeploymentProjectBuilder
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Class DeploymentProjectBuilder
public class DeploymentProjectBuilder
public ref class DeploymentProjectBuilder
type DeploymentProjectBuilder = class end
public class DeploymentProjectBuilder
The DeploymentProjectBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DeploymentProjectBuilder | Initializes a new instance of the DeploymentProjectBuilder class. |
Top
Properties
Name | Description | |
---|---|---|
ConnectionString | Gets or sets the connection string. | |
DatabaseName | Gets or sets the database name. | |
DeployManifestName | Gets or sets the deployment manifest name. | |
DeploymentScriptFile | Gets or sets the deployment script file. | |
DeployToDatabase | Gets or sets a value indicating whether to deploy to the target database. | |
DeployToScript | Gets or sets a value indicating whether to deploy to a script file. | |
Extensions | Gets or sets the extension manager for this deployment. | |
FilesOutput | Gets a list of output files. | |
InputContributorFiles | Gets a list of input contributor files. | |
OutputDirectory | Gets or sets the output directory for the deployment. | |
OverwriteExistingFiles | Gets or sets a value indicating whether deployment should overwrite existing files in the output directory. | |
Properties | Gets or sets the list of properties associated with this deployment project. | |
PropertiesFiles | Gets a list of properties files. | |
References | Gets or sets the list of references associated with this deployment project. | |
Renames | Gets or sets the list of file renames that occur during deployment. | |
SelectedDeploymentConfigFile | Gets or sets the deployment configuration file to use for this deployment project. | |
SourceModelFilePath | Gets or sets the file path for the source model. |
Top
Methods
Name | Description | |
---|---|---|
AddProperty | Adds the specified property. | |
CopyFile | Copies the specified file to the target name and directory. | |
CopyFileToOutput | Copies a file to output. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUniqueFile | Generates a unique filename in the output directory. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCreateDeploymentProject | Called when the deployment project is created. | |
OnLoadTargetModelModifiers | Override this method if your database schema provider implementation needs to perform additional modifications to the target model. | |
OnVerifyConfiguration | Returns null. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
DeploymentConfigurationFileProperty | The property that contains the deployment configuration file. | |
DeployScriptFileProperty | The property that contains the deployment script file name. | |
DeployToDatabaseProperty | The property that indicates whether deployment will deploy to the target database. | |
DeployToScriptProperty | The property that indicates whether the deployment action will only generate a deployment script but not deploy to a target database. | |
ExtensionConfigurationItemName | Used to provide extension configuration files to the MSBuild project. | |
ReferenceItemName | Used to add references to the MSBuild project. | |
SourceModelProperty | Used to add the source model filename to the MSBuild project. | |
TargetConnectionStringProperty | Used to add the target connection string to the MSBuild project. | |
TargetDatabaseNameProperty | Used to add the target database name to the MSBuild project. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.