C# Class CodeKing.SqlHarvester.SqlScripter

Inheritance: ISqlScripter
Mostrar archivo Open project: TheCodeKing/SqlHarvester.Net

Public Methods

Method Description
Dispose ( ) : void
ExecuteForContent ( string query ) : IDataReader
GetParameterName ( DataColumn column ) : string
GetSqlDataType ( DataColumn column ) : string
GetTest ( DataColumn column ) : string
IsActive ( DataColumn column ) : bool
IsPrimaryKey ( DataColumn column ) : bool
SqlScripter ( IDataCommand database, ScriptInfo scriptInfo ) : System

Private Methods

Method Description
FindRow ( DataColumn column ) : DataRow
GetPrimaryKeys ( ) : string[]
LoadSchema ( ) : void
ParseLength ( string type, string length ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ExecuteForContent() public method

public ExecuteForContent ( string query ) : IDataReader
query string
return IDataReader

GetParameterName() public method

public GetParameterName ( DataColumn column ) : string
column System.Data.DataColumn
return string

GetSqlDataType() public method

public GetSqlDataType ( DataColumn column ) : string
column System.Data.DataColumn
return string

GetTest() public method

public GetTest ( DataColumn column ) : string
column System.Data.DataColumn
return string

IsActive() public method

public IsActive ( DataColumn column ) : bool
column DataColumn
return bool

IsPrimaryKey() public method

public IsPrimaryKey ( DataColumn column ) : bool
column DataColumn
return bool

SqlScripter() public method

public SqlScripter ( IDataCommand database, ScriptInfo scriptInfo ) : System
database IDataCommand
scriptInfo ScriptInfo
return System