public EntityIdProvider(IKeyGenerator <TEntity, TKey> keyGenerator, IEntityKeyBinder <TEntity, TKey> keyBinder)
 {
     _getKey    = keyGenerator;
     _keyBinder = keyBinder;
 }
        public NoOpEntityIdProvider(IEntityKeyBinder <TEntity, TKey> binder)
        {
            Guard.ArgumentNotNull(binder, nameof(binder));

            _binder = binder;
        }