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

Mostrar archivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Generate ( SqlSProcPublishSettings settings, IEnumerable sprocFiles, EnvDTE targetProject ) : void

Generates SQL scripts for the deployment of R code into SQL database. Writes scripts to files and pushes files into the target database project.

SProcProjectFilesGenerator ( IProjectSystemServices pss, IFileSystem fs ) : System.Collections.Generic

Private Methods

Method Description
CreatePostDeploymentScriptFile ( SqlSProcPublishSettings settings, EnvDTE targetProject, string targetFolder, EnvDTE targetProjectItem, SProcMap sprocMap ) : void

Generates SQL post deployment script that pushes R code into a table as well as

CreateRCodeTableFile ( SqlSProcPublishSettings settings, EnvDTE targetProject, string targetFolder, EnvDTE targetProjectItem ) : void

Create SQL file that defines table template that will hold R code

CreateStoredProcedureFiles ( SqlSProcPublishSettings settings, IEnumerable sprocFiles, string targetFolder, EnvDTE targetProjectItem ) : SProcMap

Method Details

Generate() public method

Generates SQL scripts for the deployment of R code into SQL database. Writes scripts to files and pushes files into the target database project.
public Generate ( SqlSProcPublishSettings settings, IEnumerable sprocFiles, EnvDTE targetProject ) : void
settings SqlSProcPublishSettings
sprocFiles IEnumerable
targetProject EnvDTE
return void

SProcProjectFilesGenerator() public method

public SProcProjectFilesGenerator ( IProjectSystemServices pss, IFileSystem fs ) : System.Collections.Generic
pss IProjectSystemServices
fs IFileSystem
return System.Collections.Generic