EdmFunctions.AddMicroseconds(DbExpression, DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , která vyvolá kanonickou funkci AddMicroseconds se zadanými argumenty, které musí mít typy výsledků DateTime, DateTimeOffset nebo Time a celočíselné typy výsledků. Typ výsledku výrazu je stejný jako typ výsledku timeValue.

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

Parametry

timeValue
DbExpression

Výraz, který určuje hodnotu, ke které addValue se má přidat.

addValue
DbExpression

Výraz, který určuje počet mikrosekund, které se mají přidat do timeValue.

Návraty

Nový DbFunctionExpression, který přidá počet mikrosekund určených addValue hodnotou určenou timeValuehodnotou .

Výjimky

timeValue nebo addValue je null.

timeValue nebo addValue je neplatný.

Platí pro