@@ -11,7 +11,7 @@ namespace Microsoft.EntityFrameworkCore.SqlServer.Query.Internal;
1111/// any release. You should only use it directly in your code with extreme caution and knowing that
1212/// doing so can result in application failures when updating to a new Entity Framework Core release.
1313/// </summary>
14- public class SqlServerAggregateFunctionExpression : SqlExpression , IEquatable < SqlServerAggregateFunctionExpression >
14+ public class SqlServerAggregateFunctionExpression : SqlExpression
1515{
1616 /// <summary>
1717 /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
@@ -37,12 +37,18 @@ public SqlServerAggregateFunctionExpression(
3737 }
3838
3939 /// <summary>
40- /// The name of the function.
40+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
41+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
42+ /// any release. You should only use it directly in your code with extreme caution and knowing that
43+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
4144 /// </summary>
4245 public virtual string Name { get ; }
4346
4447 /// <summary>
45- /// The list of arguments of this function.
48+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
49+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
50+ /// any release. You should only use it directly in your code with extreme caution and knowing that
51+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
4652 /// </summary>
4753 public virtual IReadOnlyList < SqlExpression > Arguments { get ; }
4854
@@ -55,12 +61,18 @@ public SqlServerAggregateFunctionExpression(
5561 public virtual IReadOnlyList < OrderingExpression > Orderings { get ; }
5662
5763 /// <summary>
58- /// A bool value indicating if the function can return null result.
64+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
65+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
66+ /// any release. You should only use it directly in your code with extreme caution and knowing that
67+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
5968 /// </summary>
6069 public virtual bool IsNullable { get ; }
6170
6271 /// <summary>
63- /// A list of bool values indicating whether individual argument propagate null to the result.
72+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
73+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
74+ /// any release. You should only use it directly in your code with extreme caution and knowing that
75+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
6476 /// </summary>
6577 public virtual IReadOnlyList < bool > ArgumentsPropagateNullability { get ; }
6678
@@ -125,10 +137,11 @@ protected override Expression VisitChildren(ExpressionVisitor visitor)
125137 }
126138
127139 /// <summary>
128- /// Applies supplied type mapping to this expression.
140+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
141+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
142+ /// any release. You should only use it directly in your code with extreme caution and knowing that
143+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
129144 /// </summary>
130- /// <param name="typeMapping">A relational type mapping to apply.</param>
131- /// <returns>A new expression which has supplied type mapping.</returns>
132145 public virtual SqlServerAggregateFunctionExpression ApplyTypeMapping ( RelationalTypeMapping ? typeMapping )
133146 => new (
134147 Name ,
@@ -181,8 +194,7 @@ protected override void Print(ExpressionPrinter expressionPrinter)
181194 public override bool Equals ( object ? obj )
182195 => obj is SqlServerAggregateFunctionExpression sqlServerFunctionExpression && Equals ( sqlServerFunctionExpression ) ;
183196
184- /// <inheritdoc />
185- public virtual bool Equals ( SqlServerAggregateFunctionExpression ? other )
197+ private bool Equals ( SqlServerAggregateFunctionExpression ? other )
186198 => ReferenceEquals ( this , other )
187199 || other is not null
188200 && base . Equals ( other )
0 commit comments