RelationalDbFunctionsExtensions.Greatest<T>(DbFunctions, T[]) 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.
Returns the greatest value from the given list of values. Usually corresponds to the GREATEST
SQL function.
public static T Greatest<T> (this Microsoft.EntityFrameworkCore.DbFunctions _, params T[] values);
static member Greatest : Microsoft.EntityFrameworkCore.DbFunctions * 'T[] -> 'T
<Extension()>
Public Function Greatest(Of T) (_ As DbFunctions, ParamArray values As T()) As T
Type Parameters
- T
Parameters
The DbFunctions instance.
- values
- T[]
The list of values from which return the greatest value.
Returns
T
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