public MemoryRepository(IMemoryDatabaseProvider databaseProvider)
 {
     _databaseProvider    = databaseProvider;
     _primaryKeyGenerator = new MemoryPrimaryKeyGenerator <TPrimaryKey> ();
 }
 public MemoryRepository(IMemoryDatabaseProvider <TTenantId, TUserId> databaseProvider)
 {
     _databaseProvider    = databaseProvider;
     _primaryKeyGenerator = new MemoryPrimaryKeyGenerator <TPrimaryKey>();
 }