File tree Expand file tree Collapse file tree 2 files changed +33
-21
lines changed
Orm/Xtensive.Orm/Sql/Dml/Expressions Expand file tree Collapse file tree 2 files changed +33
-21
lines changed Original file line number Diff line number Diff line change 1010
1111namespace Xtensive . Sql . Dml
1212{
13- [ Serializable ]
14- public abstract class SqlFunctionCallBase : SqlExpression
15- {
16- /// <summary>
17- /// Gets the expressions.
18- /// </summary>
19- public IReadOnlyList < SqlExpression > Arguments { get ; protected set ; }
20-
21- internal SqlFunctionCallBase ( SqlNodeType nodeType , IEnumerable < SqlExpression > arguments )
22- : base ( nodeType )
23- {
24- Arguments = arguments . ToList ( ) ;
25- }
26-
27- internal SqlFunctionCallBase ( SqlNodeType nodeType , SqlExpression [ ] arguments )
28- : base ( nodeType )
29- {
30- Arguments = arguments ?? Array . Empty < SqlExpression > ( ) ;
31- }
32- }
33-
3413 [ Serializable ]
3514 public class SqlFunctionCall : SqlFunctionCallBase
3615 {
Original file line number Diff line number Diff line change 1+ // Copyright (C) 2003-2022 Xtensive LLC.
2+ // This code is distributed under MIT license terms.
3+ // See the License.txt file in the project root for more information.
4+
5+ using System ;
6+ using System . Collections . Generic ;
7+ using System . Collections . ObjectModel ;
8+ using System . Linq ;
9+ using Xtensive . Core ;
10+
11+ namespace Xtensive . Sql . Dml
12+ {
13+ [ Serializable ]
14+ public abstract class SqlFunctionCallBase : SqlExpression
15+ {
16+ /// <summary>
17+ /// Gets the expressions.
18+ /// </summary>
19+ public IReadOnlyList < SqlExpression > Arguments { get ; protected set ; }
20+
21+ internal SqlFunctionCallBase ( SqlNodeType nodeType , IEnumerable < SqlExpression > arguments )
22+ : base ( nodeType )
23+ {
24+ Arguments = arguments . ToList ( ) ;
25+ }
26+
27+ internal SqlFunctionCallBase ( SqlNodeType nodeType , SqlExpression [ ] arguments )
28+ : base ( nodeType )
29+ {
30+ Arguments = arguments ?? Array . Empty < SqlExpression > ( ) ;
31+ }
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments