/// <summary>
        /// Determines the Expiration time of the cache.
        /// </summary>
        public static string Configure(Action <EFCachePolicy> options)
        {
            var cachePolicy = new EFCachePolicy();

            options.Invoke(cachePolicy);
            return(cachePolicy.ToString());
        }
        /// <summary>
        /// Determines the Expiration time of the cache.
        /// </summary>
        public static string Configure(Action <EFCachePolicy> options)
        {
            if (options == null)
            {
                throw new ArgumentNullException(nameof(options));
            }

            var cachePolicy = new EFCachePolicy();

            options.Invoke(cachePolicy);
            return(cachePolicy.ToString());
        }