EdmFunctions.Minute(DbExpression) Metoda

Definice

DbFunctionExpression Vytvoří, který vyvolá kanonickou funkci Minute se zadaným argumentem, který musí mít typ výsledku DateTime, DateTimeOffset nebo Time. Typ výsledku výrazu je Edm.Int32.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Minute(System::Data::Common::CommandTrees::DbExpression ^ timeValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Minute(this System.Data.Common.CommandTrees.DbExpression timeValue);
static member Minute : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Minute (timeValue As DbExpression) As DbFunctionExpression

Parametry

timeValue
DbExpression

Výraz, který určuje hodnotu, ze které se má minuta načíst.

Návraty

Nový DbFunctionExpression, který vrátí celočíselnou minutovou hodnotu z timeValue.

Výjimky

timeValue je null.

timeValue je neplatný.

Platí pro