C# Class MySql.Data.VisualStudio.StoredProcedureNode

Inheritance: DocumentNode, IVsTextBufferProvider
Mostrar archivo Open project: elevate/mysqlconnector-.net Class Usage Examples

Private Properties

Property Type Description
ChangeSqlTypeTo string
CheckSyntax void
GetDropSQL string
GetNewRoutineText string
GetStoredProcedureBody string
IVsTextBufferProvider int
IVsTextBufferProvider int

Public Methods

Method Description
CreateNew ( DataViewHierarchyAccessor HierarchyAccessor, bool isFunc ) : void
GetDropSQL ( ) : string
GetEditor ( ) : object
GetSaveSql ( ) : string
StoredProcedureNode ( DataViewHierarchyAccessor hierarchyAccessor, int id, bool isFunc ) : System

Protected Methods

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

We override save here so we can change the sql from create to alter on first save

Private Methods

Method Description
ChangeSqlTypeTo ( string sql, string type ) : string
CheckSyntax ( ) : void
GetDropSQL ( string procName ) : string
GetNewRoutineText ( ) : string
GetStoredProcedureBody ( string sql, string &sql_mode ) : string
IVsTextBufferProvider ( IVsTextLines &ppTextBuffer ) : int
IVsTextBufferProvider ( int fLock ) : int

Method Details

CreateNew() public static method

public static CreateNew ( DataViewHierarchyAccessor HierarchyAccessor, bool isFunc ) : void
HierarchyAccessor DataViewHierarchyAccessor
isFunc bool
return void

GetCurrentName() protected method

protected GetCurrentName ( ) : string
return string

GetDropSQL() public method

public GetDropSQL ( ) : 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 so we can change the sql from create to alter on first save
protected Save ( ) : bool
return bool

StoredProcedureNode() public method

public StoredProcedureNode ( DataViewHierarchyAccessor hierarchyAccessor, int id, bool isFunc ) : System
hierarchyAccessor DataViewHierarchyAccessor
id int
isFunc bool
return System