C# Класс CodeKing.SqlHarvester.HarvestService

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateTablesStack ( string value, SqlHarvesterConfiguration configuration ) : void
ParseCollection ( ScriptInfoCollection config ) : ScriptInfoCollection

Описание методов

CreateHarvestor() публичный Метод

Creates the harvestor.
public CreateHarvestor ( ScriptInfo info ) : IHarvester
info ScriptInfo The info.
Результат IHarvester

CreateSeeder() публичный Метод

Creates the harvestor.
public CreateSeeder ( ) : ISeeder
Результат ISeeder

Dispose() публичный Метод

Releases unmanaged and - optionally - managed resources
public Dispose ( ) : void
Результат void

Export() публичный Метод

Exports the content using the default configuration settings.
public Export ( ) : System.IO.FileInfo[]
Результат System.IO.FileInfo[]

Export() публичный Метод

Exports the specified script info.
public Export ( ScriptInfoCollection scriptInfo ) : System.IO.FileInfo[]
scriptInfo CodeKing.SqlHarvester.Core.ScriptInfoCollection The script info.
Результат System.IO.FileInfo[]

HarvestService() публичный Метод

Initializes a new instance of the HarvestService class.
public HarvestService ( ) : System
Результат System

HarvestService() публичный Метод

Initializes a new instance of the HarvestService class.
public HarvestService ( SqlHarvesterConfiguration sqlConfiguration ) : System
sqlConfiguration CodeKing.SqlHarvester.Configuration.SqlHarvesterConfiguration The SQL configuration.
Результат System

Import() публичный Метод

Imports scripts into a target database.
public Import ( ) : bool
Результат bool

ImportConfiguration() публичный Метод

Imports the configuration.
public ImportConfiguration ( string args ) : void
args string The args.
Результат void