LCOV - code coverage report
Current view: top level - Cqrs.MongoDB/DataStores/Indexes - ByIsLogicallyDeletedAndRsnMongoDbIndex.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 2 0.0 %
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.Linq.Expressions;
      11             : 
      12             : namespace Cqrs.MongoDB.DataStores.Indexes
      13             : {
      14             :         public abstract class ByIsLogicallyDeletedAndRsnMongoDbIndex<TEntity> : MongoDbIndex<TEntity>
      15             :                 where TEntity : Entities.MongoEntity
      16           0 :         {
      17           0 :                 protected ByIsLogicallyDeletedAndRsnMongoDbIndex()
      18             :                 {
      19             :                         Selectors = new Expression<Func<TEntity, object>>[]
      20             :                         {
      21             :                                 entity => entity.IsLogicallyDeleted,
      22             :                                 entity => entity.Rsn
      23             :                         };
      24             : 
      25             :                         IsUnique = true;
      26             :                 }
      27             :         }
      28             : }

Generated by: LCOV version 1.10