Skip to content

Commit 7b9547f

Browse files
Update Orm/Xtensive.Orm/Sql/Dml/Expressions/SqlFunctionCall.cs
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
1 parent bc8d901 commit 7b9547f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Orm/Xtensive.Orm/Sql/Dml/Expressions/SqlFunctionCall.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ public override void ReplaceWith(SqlExpression expression)
2727

2828
internal override SqlFunctionCall Clone(SqlNodeCloneContext context) =>
2929
context.GetOrAdd(this, static (t, c) =>
30-
new SqlFunctionCall(t.FunctionType, Arguments.Select(o => (SqlExpression) o.Clone(context)).ToArray(Arguments.Count));
31-
);
30+
new SqlFunctionCall(t.FunctionType, t.Arguments.Select(o => o.Clone(c)).ToArray(t.Arguments.Count)));
3231

3332
public override void AcceptVisitor(ISqlVisitor visitor) => visitor.Visit(this);
3433

0 commit comments

Comments
 (0)