/// <summary>
 /// Configures temporal versioning for an individual document type.
 /// </summary>
 public static void ConfigureTemporalVersioning <T>(this IAdvancedDocumentSessionOperations session, bool enabled)
 {
     session.ConfigureTemporalVersioning(enabled, typeof(T));
 }
        /// <summary>
        /// Configures temporal versioning for an individual document type.
        /// </summary>
        public static void ConfigureTemporalVersioning(this IAdvancedDocumentSessionOperations session, bool enabled, Type documentType)
        {
            var entityName = session.DocumentStore.Conventions.GetTypeTagName(documentType);

            session.ConfigureTemporalVersioning(enabled, entityName);
        }
 /// <summary>
 /// Configures temporal versioning for all documents that aren't configured separately.
 /// </summary>
 public static void ConfigureTemporalVersioningDefaults(this IAdvancedDocumentSessionOperations session, bool enabled)
 {
     session.ConfigureTemporalVersioning(enabled, "DefaultConfiguration");
 }