C# Class CodeKing.SqlHarvester.HarvestService

Inheritance: IDisposable
Afficher le fichier Open project: TheCodeKing/SqlHarvester.Net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateTablesStack ( string value, SqlHarvesterConfiguration configuration ) : void
ParseCollection ( ScriptInfoCollection config ) : ScriptInfoCollection

Method Details

CreateHarvestor() public méthode

Creates the harvestor.
public CreateHarvestor ( ScriptInfo info ) : IHarvester
info ScriptInfo The info.
Résultat IHarvester

CreateSeeder() public méthode

Creates the harvestor.
public CreateSeeder ( ) : ISeeder
Résultat ISeeder

Dispose() public méthode

Releases unmanaged and - optionally - managed resources
public Dispose ( ) : void
Résultat void

Export() public méthode

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

Export() public méthode

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

HarvestService() public méthode

Initializes a new instance of the HarvestService class.
public HarvestService ( ) : System
Résultat System

HarvestService() public méthode

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

Import() public méthode

Imports scripts into a target database.
public Import ( ) : bool
Résultat bool

ImportConfiguration() public méthode

Imports the configuration.
public ImportConfiguration ( string args ) : void
args string The args.
Résultat void