C# Class CodeKing.SqlHarvester.SqlSeeder

Inheritance: ISeeder
显示文件 Open project: TheCodeKing/SqlHarvester.Net

Public Methods

Method Description
Dispose ( ) : void
GetFiles ( ) : string[]
ImportFile ( string fileName ) : void
SqlSeeder ( IDataCommand database, string outputDirectory ) : System

Private Methods

Method Description
ExecuteSql ( string query ) : void
IsValidQuery ( string query ) : bool

Determines whether to execute the sql against the database. This requires the command is more than simply a "GO" command.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetFiles() public method

public GetFiles ( ) : string[]
return string[]

ImportFile() public method

public ImportFile ( string fileName ) : void
fileName string
return void

SqlSeeder() public method

public SqlSeeder ( IDataCommand database, string outputDirectory ) : System
database IDataCommand
outputDirectory string
return System