Partager via


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

Definition

Returns the smallest value from the given list of values. Usually corresponds to the LEAST SQL function.

public static T Least<T> (this Microsoft.EntityFrameworkCore.DbFunctions _, params T[] values);
static member Least : Microsoft.EntityFrameworkCore.DbFunctions * 'T[] -> 'T
<Extension()>
Public Function Least(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 smallest value.

Returns

T

Applies to