/// <summary>
 /// Throws an exception if the 'batchSize' is greater than 1 and the multiple statement execution is not being supported
 /// based on the settings of the <see cref="IDbSetting"/> object.
 /// </summary>
 /// <param name="batchSize">The batch size to be evaluated.</param>
 protected void ValidateMultipleStatementExecution(int batchSize = Constant.DefaultBatchOperationSize)
 {
     if (DbSetting.IsMultiStatementExecutable == false && batchSize > 1)
     {
         throw new NotSupportedException($"Multiple execution is not supported based on the current database setting '{DbSetting.GetType().FullName}'. Consider setting the batchsize to 1.");
     }
 }