public void Send(BulkInsertChangeNotification bulkInsertChangeNotification) { OnBulkInsertChangeNotification(this, bulkInsertChangeNotification); foreach (var connectionState in connections) { connectionState.Value.Send(bulkInsertChangeNotification); } }
public void Send(BulkInsertChangeNotification bulkInsertChangeNotification) { if (!matchingBulkInserts.Contains(string.Empty) && !matchingBulkInserts.Contains(bulkInsertChangeNotification.OperationId.ToString())) { return; } Enqueue(new { Value = bulkInsertChangeNotification, Type = "BulkInsertChangeNotification" }); }
public void RaiseNotifications(BulkInsertChangeNotification obj) { Database.TransportState.Send(obj); var handler = OnBulkInsertChange; if (handler != null) { handler(Database, obj); } }
public void Send(BulkInsertChangeNotification bulkInsertChangeNotification) { var value = new { Value = bulkInsertChangeNotification, Type = "BulkInsertChangeNotification" }; if (matchingBulkInserts.Contains(string.Empty) || matchingBulkInserts.Contains(bulkInsertChangeNotification.OperationId.ToString())) { Enqueue(value); } return; }
public void Send(BulkInsertChangeNotification bulkInsertChangeNotification) { var onOnBulkInsertChangeNotification = OnBulkInsertChangeNotification; if (onOnBulkInsertChangeNotification != null) { onOnBulkInsertChangeNotification(bulkInsertChangeNotification); } Send((DocumentChangeNotification)bulkInsertChangeNotification); }
public void RaiseNotifications(BulkInsertChangeNotification obj) { Database.TransportState.Send(obj); }
public void Send(BulkInsertChangeNotification bulkInsertChangeNotification) { OnBulkInsertChangeNotification?.Invoke(bulkInsertChangeNotification); Send((DocumentChangeNotification)bulkInsertChangeNotification); }