public static void OpenConnectionStart(this SentrySqlListener listener, Guid operationId) => listener.OnNext(new KeyValuePair <string, object>( SentrySqlListener.SqlMicrosoftWriteConnectionOpenBeforeCommand, new { OperationId = operationId }));
public static void ExecuteQueryStart(this SentrySqlListener listener, Guid operationId, Guid connectionId) => listener.OnNext(new KeyValuePair <string, object>( SentrySqlListener.SqlDataBeforeExecuteCommand, new { OperationId = operationId, ConnectionId = connectionId }));
public static void ExecuteQueryFinishWithError(this SentrySqlListener listener, Guid operationId, Guid connectionId, string query) => listener.OnNext(new KeyValuePair <string, object>( SentrySqlListener.SqlDataWriteCommandError, new { OperationId = operationId, ConnectionId = connectionId, Command = new { CommandText = query } }));
public static void OpenConnectionClose(this SentrySqlListener listener, Guid operationId, Guid connectionId) => listener.OnNext(new KeyValuePair <string, object>( SentrySqlListener.SqlMicrosoftWriteConnectionCloseAfterCommand, new { OperationId = operationId, ConnectionId = connectionId }));