RelationalDbFunctionsExtensions.Least<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 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
The DbFunctions instance.
- values
- T[]
The list of values from which return the smallest 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