/// <summary> /// Apply changes through debugger.ExecuteStatement /// </summary> /// <param name="debugger"></param> public void ApplyChanges(EnvDTE.Debugger debugger) { ThreadHelper.ThrowIfNotOnUIThread(); string[] queries = this.Compare(lastSyncObject); if (queries == null || queries.Length == 0) { return; } foreach (var query in queries) { debugger.ExecuteStatement(query); } lastSyncObject = this.Clone(); }
public void ExecuteStatement(string statement) => _debugger.ExecuteStatement(statement);