C# Class MySql.Data.VisualStudio.StoredProcedureNode

Inheritance: DocumentNode, IVsTextBufferProvider
Afficher le fichier Open project: elevate/mysqlconnector-.net Class Usage Examples

Private Properties

Свойство Type Description
ChangeSqlTypeTo string
CheckSyntax void
GetDropSQL string
GetNewRoutineText string
GetStoredProcedureBody string
IVsTextBufferProvider int
IVsTextBufferProvider int

Méthodes publiques

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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public static CreateNew ( DataViewHierarchyAccessor HierarchyAccessor, bool isFunc ) : void
HierarchyAccessor DataViewHierarchyAccessor
isFunc bool
Résultat void

GetCurrentName() protected méthode

protected GetCurrentName ( ) : string
Résultat string

GetDropSQL() public méthode

public GetDropSQL ( ) : string
Résultat string

GetEditor() public méthode

public GetEditor ( ) : object
Résultat object

GetSaveSql() public méthode

public GetSaveSql ( ) : string
Résultat string

Load() protected méthode

protected Load ( ) : void
Résultat void

Save() protected méthode

We override save here so we can change the sql from create to alter on first save
protected Save ( ) : bool
Résultat bool

StoredProcedureNode() public méthode

public StoredProcedureNode ( DataViewHierarchyAccessor hierarchyAccessor, int id, bool isFunc ) : System
hierarchyAccessor DataViewHierarchyAccessor
id int
isFunc bool
Résultat System