C# Class GraphStorageManagement.DB_Manager

Datei anzeigen Open project: 2014-sed-team3/term-project Class Usage Examples

Public Properties

Property Type Description
RepositoryConnection MySql.Data.MySqlClient.MySqlConnection
setting DB_setting

Public Methods

Method Description
DB_Manager ( String _Database ) : System
close ( ) : void
export_to_db ( DataTable table, String NetworkID, String label ) : void
get_network ( String ID ) : Graph
get_network ( String NetWorkID, int option ) : Graph
list_network ( ) : DataTable
list_post_like_schema ( ) : void
list_post_schema ( ) : String[]
mysql_query ( string sql ) : DataTable

Private Methods

Method Description
PrintTableOrView ( DataTable table, string label ) : void
count_column_repeatness ( String ColumnName, String Table ) : int
filter_vertex ( DataColumnCollection columns, DataTable table, String TableName ) : void
filter_vertex_by_usability ( String ColumnName, String Table ) : bool

Method Details

DB_Manager() public method

public DB_Manager ( String _Database ) : System
_Database String
return System

close() public method

public close ( ) : void
return void

export_to_db() public method

public export_to_db ( DataTable table, String NetworkID, String label ) : void
table System.Data.DataTable
NetworkID String
label String
return void

get_network() public method

public get_network ( String ID ) : Graph
ID String
return Smrf.NodeXL.Core.Graph

get_network() public method

public get_network ( String NetWorkID, int option ) : Graph
NetWorkID String
option int
return Smrf.NodeXL.Core.Graph

list_network() public method

public list_network ( ) : DataTable
return System.Data.DataTable

list_post_like_schema() public method

public list_post_like_schema ( ) : void
return void

list_post_schema() public method

public list_post_schema ( ) : String[]
return String[]

mysql_query() public method

public mysql_query ( string sql ) : DataTable
sql string
return System.Data.DataTable

Property Details

RepositoryConnection public_oe property

public MySqlConnection,MySql.Data.MySqlClient RepositoryConnection
return MySql.Data.MySqlClient.MySqlConnection

setting public_oe property

public DB_setting setting
return DB_setting