We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8d31fb commit c4d28deCopy full SHA for c4d28de
1 file changed
Orm/Xtensive.Orm/Sql/Dml/Statements/SqlInsert.cs
@@ -37,14 +37,16 @@ public class SqlInsert : SqlQueryStatement, ISqlCompileUnit
37
38
internal override SqlInsert Clone(SqlNodeCloneContext context) =>
39
context.GetOrAdd(this, static (t, c) => {
40
- SqlInsert clone = new SqlInsert();
41
- clone.Into = t.Into?.Clone(c);
42
- clone.From = t.From?.Clone(c);
43
- clone.ValueRows = t.ValueRows.Clone(c);
+ var clone = new SqlInsert {
+ Into = t.Into?.Clone(c),
+ From = t.From?.Clone(c),
+ ValueRows = t.ValueRows.Clone(c)
44
+ };
45
- if (t.Hints.Count > 0)
46
+ if (t.Hints.Count > 0) {
47
foreach (SqlHint hint in t.Hints)
48
clone.Hints.Add((SqlHint) hint.Clone(c));
49
+ }
50
return clone;
51
});
52
0 commit comments