C# Class CodeKing.SqlHarvester.HarvestService

Inheritance: IDisposable
Show file Open project: TheCodeKing/SqlHarvester.Net Class Usage Examples

Public Methods

Method Description
CreateHarvestor ( ScriptInfo info ) : IHarvester

Creates the harvestor.

CreateSeeder ( ) : ISeeder

Creates the harvestor.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources

Export ( ) : System.IO.FileInfo[]

Exports the content using the default configuration settings.

Export ( ScriptInfoCollection scriptInfo ) : System.IO.FileInfo[]

Exports the specified script info.

HarvestService ( ) : System

Initializes a new instance of the HarvestService class.

HarvestService ( SqlHarvesterConfiguration sqlConfiguration ) : System

Initializes a new instance of the HarvestService class.

Import ( ) : bool

Imports scripts into a target database.

ImportConfiguration ( string args ) : void

Imports the configuration.

Private Methods

Method Description
CreateTablesStack ( string value, SqlHarvesterConfiguration configuration ) : void
ParseCollection ( ScriptInfoCollection config ) : ScriptInfoCollection

Method Details

CreateHarvestor() public method

Creates the harvestor.
public CreateHarvestor ( ScriptInfo info ) : IHarvester
info ScriptInfo The info.
return IHarvester

CreateSeeder() public method

Creates the harvestor.
public CreateSeeder ( ) : ISeeder
return ISeeder

Dispose() public method

Releases unmanaged and - optionally - managed resources
public Dispose ( ) : void
return void

Export() public method

Exports the content using the default configuration settings.
public Export ( ) : System.IO.FileInfo[]
return System.IO.FileInfo[]

Export() public method

Exports the specified script info.
public Export ( ScriptInfoCollection scriptInfo ) : System.IO.FileInfo[]
scriptInfo CodeKing.SqlHarvester.Core.ScriptInfoCollection The script info.
return System.IO.FileInfo[]

HarvestService() public method

Initializes a new instance of the HarvestService class.
public HarvestService ( ) : System
return System

HarvestService() public method

Initializes a new instance of the HarvestService class.
public HarvestService ( SqlHarvesterConfiguration sqlConfiguration ) : System
sqlConfiguration CodeKing.SqlHarvester.Configuration.SqlHarvesterConfiguration The SQL configuration.
return System

Import() public method

Imports scripts into a target database.
public Import ( ) : bool
return bool

ImportConfiguration() public method

Imports the configuration.
public ImportConfiguration ( string args ) : void
args string The args.
return void