프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ParentTable |
메소드 | 설명 | |
---|---|---|
CreateNew ( DataViewHierarchyAccessor HierarchyAccessor, |
||
GetDropSQL ( ) : string | ||
GetEditor ( ) : object | ||
GetSaveSql ( ) : string | ||
TriggerNode ( DataViewHierarchyAccessor hierarchyAccessor, int id ) : System |
메소드 | 설명 | |
---|---|---|
GetCurrentName ( ) : string | ||
Load ( ) : void | ||
Save ( ) : bool |
We override save here so we can change the sql from create to alter on first save
|
메소드 | 설명 | |
---|---|---|
ChangeSqlTypeTo ( string sql, string type ) : string | ||
CheckSyntax ( ) : void | ||
GetDropSQL ( string triggerName ) : string | ||
GetNewTriggerText ( ) : string | ||
GetTargetedTable ( string sql ) : string | ||
IVsTextBufferProvider ( IVsTextLines &ppTextBuffer ) : int | ||
IVsTextBufferProvider ( int fLock ) : int | ||
MakeSureWeAreNotChangingTables ( string sql ) : void |
This method will attempt to extract the table this trigger script is targeting and make sure it matches the table the trigger was originally created for. We do this because we don't want the user using an 'ALTER' script to move a trigger to a different table
|
public static CreateNew ( DataViewHierarchyAccessor HierarchyAccessor, |
||
HierarchyAccessor | DataViewHierarchyAccessor | |
parent | ||
리턴 | void |
public TriggerNode ( DataViewHierarchyAccessor hierarchyAccessor, int id ) : System | ||
hierarchyAccessor | DataViewHierarchyAccessor | |
id | int | |
리턴 | System |