RelationalSqlTranslatingExpressionVisitor.TranslateMin Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TranslateMin(SqlExpression) |
Obsolete.
Translates Min over an expression to an equivalent SQL representation. |
TranslateMin(Expression) |
TranslateMin(SqlExpression)
Caution
Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods
Translates Min over an expression to an equivalent SQL representation.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateMin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateMin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
[System.Obsolete("Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods")]
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateMin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
abstract member TranslateMin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateMin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
[<System.Obsolete("Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods")>]
abstract member TranslateMin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateMin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateMin (sqlExpression As SqlExpression) As SqlExpression
Parameters
- sqlExpression
- SqlExpression
An expression to translate Min over.
Returns
A SQL translation of Min over the given expression.
- Attributes
Applies to
TranslateMin(Expression)
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateMin (System.Linq.Expressions.Expression expression);
abstract member TranslateMin : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateMin : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateMin (expression As Expression) As SqlExpression
Parameters
- expression
- Expression
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework