Example #1
0
 /// <summary>
 ///     This method raises the ScalarQueryComplete event
 /// </summary>
 /// <param name="executedCommand">This command lead to the provided result data set</param>
 /// <param name="result">Scalar query result</param>
 protected virtual void RaiseOnScalarQueryCompleteEvent(IDbCommand executedCommand, object result) => ScalarQueryComplete?.Invoke(this, new ScalarEventArgs(executedCommand, result));
Example #2
0
 /// <summary>
 ///     Static event sink that can be bound to data services and hand the
 ///     event on to other potential subscribers
 /// </summary>
 /// <param name="sender">Sender (data service)</param>
 /// <param name="e">Scalar (Query) Event Arguments</param>
 private static void OnScalarQueryComplete(object sender, ScalarEventArgs e) => ScalarQueryComplete?.Invoke(sender, e);