Пример #1
0
        public static string GetSqlQualifiedValue(this DbType dbType, object value, bool doIncludeQualifier)
        {
            var sqlValue = dbType.GetSqlValue(value);

            if (!doIncludeQualifier)
            {
                return(sqlValue);
            }
            var qualifier = GetQualifier(dbType);

            return(qualifier + sqlValue + qualifier);
        }