C# Class SqlInjection_DatabaseExplorer.getData

Exibir arquivo Open project: o2platform/Demos_Files

Public Methods

Method Description
GetColumnData ( string strDatabaseName, string strTableName, string strColumnName, string strColumnDataType, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
GetDatabaseTables ( string strDatabaseName, ListBox lbDbSchema_AvailableDatabases, ListBox lbDbSchema_AvailableTables, ListView lvDbSchema_AvailableColumns, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
GetTableColumns ( string strDatabaseName, string strTableName, ListBox lbDbSchema_AvailableDatabases, ListBox lbDbSchema_AvailableTables, ListView lvDbSchema_AvailableColumns, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
getAvailableDatabases ( ListBox lbDbSchema_AvailableDatabases, ListBox lbDbSchema_AvailableTables, ListView lvDbSchema_AvailableColumns, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
getColumnDataType ( string strDatabaseName, string strTableName, string strColumnName ) : string
getTableUniqueId ( string strDatabaseName, string strTableName ) : string
isColumnIdentity ( string strDatabaseName, string strTableUniqueId, string strColumnName ) : string
populateListBoxWithPayloadData ( ListBox lbToPopulate, string strPayload_Before, string strPayload_After, string strLastItem, string strThrowAnConvertError, bool &bCancelRequest ) : void

Method Details

GetColumnData() public static method

public static GetColumnData ( string strDatabaseName, string strTableName, string strColumnName, string strColumnDataType, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
strDatabaseName string
strTableName string
strColumnName string
strColumnDataType string
lbDbSchema_ColumnData System.Windows.Forms.ListBox
bCancelRequest bool
return void

GetDatabaseTables() public static method

public static GetDatabaseTables ( string strDatabaseName, ListBox lbDbSchema_AvailableDatabases, ListBox lbDbSchema_AvailableTables, ListView lvDbSchema_AvailableColumns, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
strDatabaseName string
lbDbSchema_AvailableDatabases System.Windows.Forms.ListBox
lbDbSchema_AvailableTables System.Windows.Forms.ListBox
lvDbSchema_AvailableColumns System.Windows.Forms.ListView
lbDbSchema_ColumnData System.Windows.Forms.ListBox
bCancelRequest bool
return void

GetTableColumns() public static method

public static GetTableColumns ( string strDatabaseName, string strTableName, ListBox lbDbSchema_AvailableDatabases, ListBox lbDbSchema_AvailableTables, ListView lvDbSchema_AvailableColumns, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
strDatabaseName string
strTableName string
lbDbSchema_AvailableDatabases System.Windows.Forms.ListBox
lbDbSchema_AvailableTables System.Windows.Forms.ListBox
lvDbSchema_AvailableColumns System.Windows.Forms.ListView
lbDbSchema_ColumnData System.Windows.Forms.ListBox
bCancelRequest bool
return void

getAvailableDatabases() public static method

public static getAvailableDatabases ( ListBox lbDbSchema_AvailableDatabases, ListBox lbDbSchema_AvailableTables, ListView lvDbSchema_AvailableColumns, ListBox lbDbSchema_ColumnData, bool &bCancelRequest ) : void
lbDbSchema_AvailableDatabases System.Windows.Forms.ListBox
lbDbSchema_AvailableTables System.Windows.Forms.ListBox
lvDbSchema_AvailableColumns System.Windows.Forms.ListView
lbDbSchema_ColumnData System.Windows.Forms.ListBox
bCancelRequest bool
return void

getColumnDataType() public static method

public static getColumnDataType ( string strDatabaseName, string strTableName, string strColumnName ) : string
strDatabaseName string
strTableName string
strColumnName string
return string

getTableUniqueId() public static method

public static getTableUniqueId ( string strDatabaseName, string strTableName ) : string
strDatabaseName string
strTableName string
return string

isColumnIdentity() public static method

public static isColumnIdentity ( string strDatabaseName, string strTableUniqueId, string strColumnName ) : string
strDatabaseName string
strTableUniqueId string
strColumnName string
return string

populateListBoxWithPayloadData() public static method

public static populateListBoxWithPayloadData ( ListBox lbToPopulate, string strPayload_Before, string strPayload_After, string strLastItem, string strThrowAnConvertError, bool &bCancelRequest ) : void
lbToPopulate System.Windows.Forms.ListBox
strPayload_Before string
strPayload_After string
strLastItem string
strThrowAnConvertError string
bCancelRequest bool
return void