SqlNameHelper
Defines static helper methods to perform common SQL name operations.
using System.Text.RegularExpressions;
namespace Relativity.DataExchange.Service
{
internal static class SqlNameHelper
{
public static string GetSqlFriendlyName(string displayName)
{
return Regex.Replace((displayName == null) ? string.Empty : displayName, "[\\W]+", string.Empty);
}
}
}