public override SqlObject Visit(SqlIdentifier sqlIdentifier) { return(SqlIdentifier.Create( this.GetObfuscatedString( sqlIdentifier.Value, "ident", ref this.identifierSequenceNumber))); }
public static SqlFunctionCallScalarExpression Create( string name, bool isUdf, IReadOnlyList <SqlScalarExpression> arguments) { if (!SqlFunctionCallScalarExpression.FunctionIdentifiers.TryGetValue(name, out SqlIdentifier sqlIdentifier)) { sqlIdentifier = SqlIdentifier.Create(name); } return(SqlFunctionCallScalarExpression.Create(sqlIdentifier, isUdf, arguments)); }
public static SqlFunctionCallScalarExpression Create( string name, bool isUdf, params SqlScalarExpression[] arguments) { SqlIdentifier sqlIdentifier; if (!SqlFunctionCallScalarExpression.FunctionIdentifiers.TryGetValue(name, out sqlIdentifier)) { sqlIdentifier = SqlIdentifier.Create(name); } return(SqlFunctionCallScalarExpression.Create(sqlIdentifier, isUdf, arguments)); }