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

Definition

Returns the greatest value from the given list of values. Usually corresponds to the GREATEST SQL function.

C#
public static T Greatest<T> (this Microsoft.EntityFrameworkCore.DbFunctions _, params T[] values);

Type Parameters

T

Parameters

_
DbFunctions

The DbFunctions instance.

values
T[]

The list of values from which return the greatest value.

Returns

T

Applies to

Proizvod Verzije
Entity Framework Core 9.0