C# Class MySql.Data.VisualStudio.BaseNode

Show file Open project: Top-Cat/SteamBot Class Usage Examples

Public Properties

Property Type Description
HierarchyAccessor DataViewHierarchyAccessor
IsNew bool

Protected Properties

Property Type Description
commandGroupGuid System.Guid
editorGuid System.Guid
name string

Public Methods

Method Description
Alter ( ) : void
BaseNode ( DataViewHierarchyAccessor hierarchyAccessor, int id ) : System
Edit ( ) : void
ExecuteCommand ( int command ) : void
GetDataTable ( string sql ) : DataTable
GetDropSQL ( ) : string
GetEditor ( ) : object
GetSchema ( string schemaName, string restrictions ) : DataTable
Refresh ( ) : void

Refresh database node in server explorer

Protected Methods

Method Description
ExecuteSQL ( string sql ) : void
GenerateUniqueName ( ) : string
SaveNode ( ) : void

Private Methods

Method Description
Drop ( ) : void
OpenEditor ( ) : void
SelectConnectionNode ( ) : void

Selects connection node in the Server Explorer window.

Method Details

Alter() public method

public Alter ( ) : void
return void

BaseNode() public method

public BaseNode ( DataViewHierarchyAccessor hierarchyAccessor, int id ) : System
hierarchyAccessor DataViewHierarchyAccessor
id int
return System

Edit() public method

public Edit ( ) : void
return void

ExecuteCommand() public method

public ExecuteCommand ( int command ) : void
command int
return void

ExecuteSQL() protected method

protected ExecuteSQL ( string sql ) : void
sql string
return void

GenerateUniqueName() protected method

protected GenerateUniqueName ( ) : string
return string

GetDataTable() public method

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

GetDropSQL() public method

public GetDropSQL ( ) : string
return string

GetEditor() public method

public GetEditor ( ) : object
return object

GetSchema() public method

public GetSchema ( string schemaName, string restrictions ) : DataTable
schemaName string
restrictions string
return System.Data.DataTable

Refresh() public method

Refresh database node in server explorer
public Refresh ( ) : void
return void

SaveNode() protected method

protected SaveNode ( ) : void
return void

Property Details

HierarchyAccessor public property

public DataViewHierarchyAccessor HierarchyAccessor
return DataViewHierarchyAccessor

IsNew public property

public bool IsNew
return bool

commandGroupGuid protected property

protected Guid,System commandGroupGuid
return System.Guid

editorGuid protected property

protected Guid,System editorGuid
return System.Guid

name protected property

protected string name
return string