Share via


RelationalDbFunctionsExtensions.Greatest<T>(DbFunctions, T[]) Method

Definition

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

_
DbFunctions

The DbFunctions instance.

values
T[]

The list of values from which return the greatest value.

Returns

T

Applies to