C# Class Microsoft.VisualStudio.R.Package.Sql.Publish.SProcPublisher

Provides functionality for publishing stored procedures to projects or databases
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Publish ( SqlSProcPublishSettings settings, IEnumerable sprocFiles ) : void
SProcPublisher ( IApplicationShell appShell, IProjectSystemServices pss, IFileSystem fs, IDacPackageServices dacServices ) : System

Private Methods

Method Description
CreateDacPac ( SqlSProcPublishSettings settings, IEnumerable sprocFiles, string dacpacPath ) : void
PublishToDacPac ( SqlSProcPublishSettings settings, IEnumerable sprocFiles ) : void

Packages stored procedures into a DACPAC.

PublishToDatabase ( SqlSProcPublishSettings settings, IEnumerable sprocFiles ) : void

Packages stored procedures into a DACPAC and then publishes it to the database.

PublishToProject ( SqlSProcPublishSettings settings, IEnumerable sprocFiles ) : void

Generates SQL files for stored procedures as well as publishing scripts and then adds them to the target database project.

Method Details

Publish() public method

public Publish ( SqlSProcPublishSettings settings, IEnumerable sprocFiles ) : void
settings SqlSProcPublishSettings
sprocFiles IEnumerable
return void

SProcPublisher() public method

public SProcPublisher ( IApplicationShell appShell, IProjectSystemServices pss, IFileSystem fs, IDacPackageServices dacServices ) : System
appShell IApplicationShell
pss IProjectSystemServices
fs IFileSystem
dacServices IDacPackageServices
return System