/// <summary>
 ///     Inserts a list of entity and returns true if successful.
 /// </summary>
 /// <typeparam name="T">The type of entity to update.</typeparam>
 /// <param name="entitiesToUpdate">The IEnumerable list of Entity to update.</param>
 /// <param name="columnsToUpdate">The list of columns to updates.</param>
 /// <returns>
 ///     True if records are updated.
 /// </returns>
 public bool UpdateList <T>(IEnumerable <T> entitiesToUpdate, IEnumerable <string> columnsToUpdate)
     where T : class =>
 ExecuteInternal(
     () => SharedConnection.UpdateList(entitiesToUpdate, columnsToUpdate, _transaction,
                                       OneTimeCommandTimeout ?? CommandTimeout), true);