Summary
Deploy SQL database using DACFx API
- Namespace
- Cake
.MsDeploy .Providers .MsDeployProviders - Interfaces
- Base Types
-
- object
- MsDeployProvider
graph TD
Base0["MsDeployProvider"]-->Type
click Base0 "/Cake.MsDeploy/api/Cake.MsDeploy.Providers/MsDeployProvider"
Base1["object"]-->Base0
Interface0["IMsDeployProvider"]-.->Type
click Interface0 "/Cake.MsDeploy/api/Cake.MsDeploy.Providers/IMsDeployProvider"
Interface1["IMsDeployArgument"]-.->Type
click Interface1 "/Cake.MsDeploy/api/Cake.MsDeploy/IMsDeployArgument"
Type["DbDacFxProvider"]
class Type type-node
Syntax
public class DbDacFxProvider : MsDeployProvider, IMsDeployProvider, IMsDeployArgument
Properties
Name | Value | Summary |
---|---|---|
Allow |
bool? |
A true or false value for the 'AllowDropBlockingAssemblies' setting.
|
Allow |
bool? |
A true or false value for the 'AllowIncompatiblePlatform' setting.
|
AppendQuotesToPath | bool |
Determines if the Path is surrounded in "quotes"
Inherited from MsDeployProvider
|
AuthenticationType | Authentication |
Authentication scheme to use. NTLM is the default setting. If the wmsvc option is specified, then Basic is the default setting.
Inherited from MsDeployProvider
|
Backup |
bool? |
A true or false value for the 'BackupDatabaseBeforeChanges' setting.
|
Block |
bool? |
A true or false value for the 'BlockOnPossibleDataLoss' setting.
|
Block |
bool? |
A true or false value for the 'BlockWhenDriftDetected' setting.
|
CommandTimeout | int? |
An integer value for the 'commandTimeout' setting.
|
Comment |
bool? |
A true or false value for the 'CommentOutSetVarDeclarations' setting.
|
Compare |
bool? |
A true or false value for the 'CompareUsingTargetCollation' setting.
|
ComputerName | string |
Name of remote computer or proxy-URL
Inherited from MsDeployProvider
|
CreateNewDatabase | bool? |
A true or false value for the 'CreateNewDatabase' setting.
|
DacpacAction | DacpacAction |
A value that is one of 'Deploy, Script, Report'.
|
Deploy |
bool? |
A true or false value for the 'DeployDatabaseInSingleUserMode' setting.
|
Direction | Direction |
Determines if the Provider is a source or destination
Inherited from MsDeployProvider
|
Disable |
bool? |
A true or false value for the 'DisableAndReenableDdlTriggers' setting.
|
Do |
bool? |
A true or false value for the 'DoNotAlterChangeDataCaptureObjects' setting.
|
Do |
bool? |
A true or false value for the 'DoNotAlterReplicatedObjects' setting.
|
Drop |
bool? |
A true or false value for the 'DropConstraintsNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'dropDestinationDatabase' setting.
|
Drop |
bool? |
A true or false value for the 'DropDmlTriggersNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'DropExtendedPropertiesNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'DropIndexesNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'DropObjectsNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'DropPermissionsNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'DropRoleMembersNotInSource' setting.
|
Drop |
bool? |
A true or false value for the 'DropStatisticsNotInSource' setting.
|
Generate |
bool? |
A true or false value for the 'GenerateSmartDefaults' setting.
|
IgnoreAnsiNulls | bool? |
A true or false value for the 'IgnoreAnsiNulls' setting.
|
IgnoreAuthorizer | bool? |
A true or false value for the 'IgnoreAuthorizer' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreColumnCollation' setting.
|
IgnoreComments | bool? |
A true or false value for the 'IgnoreComments' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreCryptographicProviderFilePath' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreDdlTriggerOrder' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreDdlTriggerState' setting.
|
IgnoreDefaultSchema | bool? |
A true or false value for the 'IgnoreDefaultSchema' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreDmlTriggerOrder' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreDmlTriggerState' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreExtendedProperties' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreFileAndLogFilePath' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreFilegroupPlacement' setting.
|
IgnoreFileSize | bool? |
A true or false value for the 'IgnoreFileSize' setting.
|
IgnoreFillFactor | bool? |
A true or false value for the 'IgnoreFillFactor' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreFullTextCatalogFilePath' setting.
|
IgnoreIdentitySeed | bool? |
A true or false value for the 'IgnoreIdentitySeed' setting.
|
IgnoreIncrement | bool? |
A true or false value for the 'IgnoreIncrement' setting.
|
IgnoreIndexOptions | bool? |
A true or false value for the 'IgnoreIndexOptions' setting.
|
IgnoreIndexPadding | bool? |
A true or false value for the 'IgnoreIndexPadding' setting.
|
IgnoreKeywordCasing | bool? |
A true or false value for the 'IgnoreKeywordCasing' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreLockHintsOnIndexes' setting.
|
IgnoreLoginSids | bool? |
A true or false value for the 'IgnoreLoginSids' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreNotForReplication' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreObjectPlacementOnPartitionScheme' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnorePartitionSchemes' setting.
|
IgnorePermissions | bool? |
A true or false value for the 'IgnorePermissions' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreQuotedIdentifiers' setting.
|
IgnoreRoleMembership | bool? |
A true or false value for the 'IgnoreRoleMembership' setting.
|
IgnoreRouteLifetime | bool? |
A true or false value for the 'IgnoreRouteLifetime' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreSemicolonBetweenStatements' setting.
|
IgnoreTableOptions | bool? |
A true or false value for the 'IgnoreTableOptions' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreUserSettingsObjects' setting.
|
IgnoreWhitespace | bool? |
A true or false value for the 'IgnoreWhitespace' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreWithNocheckOnCheckConstraints' setting.
|
Ignore |
bool? |
A true or false value for the 'IgnoreWithNocheckOnForeignKeys' setting.
|
IncludeAcls | bool? |
If true, include ACLs in the operation (applies to the file system, registry, and metabase).
Inherited from MsDeployProvider
|
Include |
bool? |
A true or false value for the 'IncludeCompositeObjects' setting.
|
IncludeData | bool? |
A true or false value for the 'includeData' setting.
|
Include |
bool? |
A true or false value for the 'IncludeTransactionalScripts' setting.
|
No |
bool? |
A true or false value for the 'NoAlterStatementsToChangeClrTypes' setting.
|
Password | string |
Password of the user for remote connections (required if using Basic authentication).
Inherited from MsDeployProvider
|
Path | string |
Path of the provider type
Inherited from MsDeployProvider
|
Populate |
bool? |
A true or false value for the 'PopulateFilesOnFileGroups' setting.
|
PublishSettings | string |
Inherited from MsDeployProvider
|
Register |
bool? |
A true or false value for the 'RegisterDataTierApplication' setting.
|
RequirePath | bool |
Determines if the Path argument is required for the MsDeployProvider
Inherited from MsDeployProvider
|
Run |
bool? |
A true or false value for the 'RunDeploymentPlanExecutors' setting.
|
Script |
bool? |
A true or false value for the 'ScriptDatabaseCollation' setting.
|
Script |
bool? |
A true or false value for the 'ScriptDatabaseCompatibility' setting.
|
Script |
bool? |
A true or false value for the 'ScriptDatabaseOptions' setting.
|
Script |
bool? |
A true or false value for the 'ScriptDeployStateChecks' setting.
|
ScriptFileSize | bool? |
A true or false value for the 'ScriptFileSize' setting.
|
Script |
bool? |
A true or false value for the 'ScriptNewConstraintValidation' setting.
|
ScriptRefreshModule | bool? |
A true or false value for the 'ScriptRefreshModule' setting.
|
TempAgent | bool? |
Inherited from MsDeployProvider
|
Treat |
bool? |
A true or false value for the 'TreatVerificationErrorsAsWarnings' setting.
|
Type | string | |
Unmodifiable |
bool? |
A true or false value for the 'UnmodifiableObjectWarnings' setting.
|
Username | string |
User name to authenticate for remote connections (required if using Basic authentication).
Inherited from MsDeployProvider
|
Verify |
bool? |
A true or false value for the 'VerifyCollationCompatibility' setting.
|
VerifyDeployment | bool? |
A true or false value for the 'VerifyDeployment' setting.
|
WebManagementService | string |
Name of remote computer or proxy-URL for the Web Management Service (WMSvc). Assumes that the service is listening on port 8172.
Inherited from MsDeployProvider
|
Methods
Name | Value | Summary |
---|---|---|
AdditionalSettings |
void | |
Append |
void |
Converts the object into its MSDeploy command line equivalent and Appends it to the stringbuilder
Inherited from MsDeployProvider
|
To |
string |
Converts the MSDeploy Provider into its commmand line argument
Inherited from MsDeployProvider
|