C# Class CodeKing.SqlHarvester.SqlSeeder

Inheritance: ISeeder
Afficher le fichier Open project: TheCodeKing/SqlHarvester.Net

Méthodes publiques

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

Private Methods

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

public Dispose ( ) : void
Résultat void

GetFiles() public méthode

public GetFiles ( ) : string[]
Résultat string[]

ImportFile() public méthode

public ImportFile ( string fileName ) : void
fileName string
Résultat void

SqlSeeder() public méthode

public SqlSeeder ( IDataCommand database, string outputDirectory ) : System
database IDataCommand
outputDirectory string
Résultat System