internal void AddBuiltInColumnValues(TimeSpan? delay, TimeSpan expiration, DateTime currentDateTime, StringBuilder command)
{
if (EnableDelayedProcessing)
{
if (delay.HasValue && delay != TimeSpan.Zero)
{
command.Append($", {currentDateTime.Add(delay.Value).Ticks} ");
}
else
{
command.Append($", {currentDateTime.Ticks}");
}
}
if (EnablePriority)
{
command.Append(", @Priority ");
}
if (EnableRoute)
{
command.Append(", @Route ");
}
if (EnableStatus)
{
command.Append(", @Status ");
}
if (EnableMessageExpiration || QueueType == QueueTypes.RpcReceive || QueueType == QueueTypes.RpcSend)
{
command.Append(expiration != TimeSpan.Zero ? $", {currentDateTime.Add(expiration).Ticks} " : ", NULL ");
}
}
/// <summary>