protected IndexConfiguration HasIndex(Expression <Func <TEntity, object> > indexExpression)
        {
            var indexConfiguration = new IndexConfiguration();

            _actions.Add(b =>
            {
                var i = b.HasIndex(indexExpression);
                indexConfiguration.Apply(i);
            });
            return(indexConfiguration);
        }
        protected IndexConfiguration HasIndex(params string[] propertyNames)
        {
            var indexConfiguration = new IndexConfiguration();

            _actions.Add(b =>
            {
                var i = b.HasIndex(propertyNames);
                indexConfiguration.Apply(i);
            });
            return(indexConfiguration);
        }