Class BatchDataWriter
Implements the IMonitoringDataWriter that writes the entire monitoring batch in a single database call using table-value parameters of a stored procedure.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Monitoring
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class BatchDataWriter : IMonitoringDataWriter
  Constructors
BatchDataWriter()
Declaration
public BatchDataWriter()
  Methods
WriteBatchAsync(MonitoringBatch)
When implemented by a class, asynchronously writes monitoring data into an underlying data store.
Declaration
public Task WriteBatchAsync(MonitoringBatch batch)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MonitoringBatch | batch | The monitoring data batch to write.  | 
      
Returns
| Type | Description | 
|---|---|
| Task | the Task that can be used to await for asynchronous operation to complete.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | Thrown if the specified   |