C# Class CodeKing.SqlHarvester.SqlHarvester

Inheritance: IHarvester
Exibir arquivo Open project: TheCodeKing/SqlHarvester.Net

Public Methods

Method Description
Cancel ( ) : void
Dispose ( ) : void
SqlHarvester ( SqlScripterFactory factory, ScriptInfo scriptInfo, string outputDirectory, int index ) : System
WriteContent ( ) : bool
WriteFooter ( ) : void
WriteHeader ( ) : FileInfo

Private Methods

Method Description
CleanName ( string name ) : string
GetFile ( string outputDirectory ) : FileInfo
ReplaceTokens ( string input ) : string
WriteConstraints ( bool drop ) : void
WriteDataContent ( IDataReader reader ) : void
WriteDataContentValues ( IDataReader reader ) : void
WriteDataValue ( Type type, IDataReader reader, DataColumn column, int index ) : void

Method Details

Cancel() public method

public Cancel ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

SqlHarvester() public method

public SqlHarvester ( SqlScripterFactory factory, ScriptInfo scriptInfo, string outputDirectory, int index ) : System
factory SqlScripterFactory
scriptInfo ScriptInfo
outputDirectory string
index int
return System

WriteContent() public method

public WriteContent ( ) : bool
return bool

WriteFooter() public method

public WriteFooter ( ) : void
return void

WriteHeader() public method

public WriteHeader ( ) : FileInfo
return System.IO.FileInfo