C# Class MySql.Data.VisualStudio.TableNode

Inheritance: DocumentNode
Show file Open project: elevate/mysqlconnector-.net Class Usage Examples

Public Methods

Method Description
CreateNew ( DataViewHierarchyAccessor HierarchyAccessor ) : void
ExecuteCommand ( int command ) : void
GetEditor ( ) : object
GetSaveSql ( ) : string
TableNode ( DataViewHierarchyAccessor hierarchyAccessor, int id ) : System

Protected Methods

Method Description
GetCurrentName ( ) : string
Load ( ) : void
Save ( ) : bool

We override Save here because we want to prompt for a new name if this table is new and the user has not changed the default name

Method Details

CreateNew() public static method

public static CreateNew ( DataViewHierarchyAccessor HierarchyAccessor ) : void
HierarchyAccessor DataViewHierarchyAccessor
return void

ExecuteCommand() public method

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

GetCurrentName() protected method

protected GetCurrentName ( ) : string
return string

GetEditor() public method

public GetEditor ( ) : object
return object

GetSaveSql() public method

public GetSaveSql ( ) : string
return string

Load() protected method

protected Load ( ) : void
return void

Save() protected method

We override Save here because we want to prompt for a new name if this table is new and the user has not changed the default name
protected Save ( ) : bool
return bool

TableNode() public method

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