コード例 #1
0
 public static void OpenConnectionStart(this SentrySqlListener listener, Guid operationId)
 => listener.OnNext(new KeyValuePair <string, object>(
                        SentrySqlListener.SqlMicrosoftWriteConnectionOpenBeforeCommand,
                        new { OperationId = operationId }));
コード例 #2
0
 public static void ExecuteQueryStart(this SentrySqlListener listener, Guid operationId, Guid connectionId)
 => listener.OnNext(new KeyValuePair <string, object>(
                        SentrySqlListener.SqlDataBeforeExecuteCommand,
                        new { OperationId = operationId, ConnectionId = connectionId }));
コード例 #3
0
 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 } }));
コード例 #4
0
 public static void OpenConnectionClose(this SentrySqlListener listener, Guid operationId, Guid connectionId)
 => listener.OnNext(new KeyValuePair <string, object>(
                        SentrySqlListener.SqlMicrosoftWriteConnectionCloseAfterCommand,
                        new { OperationId = operationId, ConnectionId = connectionId }));