SchemaZen.Library.Models.Routine.GetSQLTypeForRegEx C# (CSharp) Method

GetSQLTypeForRegEx() public method

public GetSQLTypeForRegEx ( ) : string
return string
        public string GetSQLTypeForRegEx()
        {
            var text = GetSQLType();
            if (RoutineType == RoutineKind.Procedure) // support shorthand - PROC
                return "(?:" + text + "|" + text.Substring(0, 4) + ")";
            return text;
        }