LCOV - code coverage report
Current view: top level - Cqrs/DataStores - IDataStore.cs Hit Total Coverage
Test: doc-coverage.info Lines: 1 6 16.7 %
Date: 2017-07-26

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="cdmdotnet Limited">
       4             : // //   Copyright cdmdotnet Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : using System.Collections.Generic;
      11             : using System.Linq;
      12             : 
      13             : namespace Cqrs.DataStores
      14             : {
      15             :         /// <summary>
      16             :         /// A data store capable of being queried and modified
      17             :         /// </summary>
      18             :         public interface IDataStore<TData> : IOrderedQueryable<TData>, IDisposable
      19             :         {
      20           0 :                 void Add(TData data);
      21             : 
      22           0 :                 void Add(IEnumerable<TData> data);
      23             : 
      24             :                 /// <summary>
      25             :                 /// Will mark the <paramref name="data"/> as logically (or soft).
      26             :                 /// </summary>
      27           1 :                 void Remove(TData data);
      28             : 
      29           0 :                 void Destroy(TData data);
      30             : 
      31           0 :                 void RemoveAll();
      32             : 
      33           0 :                 void Update(TData data);
      34             :         }
      35             : }

Generated by: LCOV version 1.10