EdmFunctions.DiffMicroseconds(DbExpression, DbExpression) Méthode

Définition

Crée une DbFunctionExpression appelant la fonction « DiffMicroseconds » canonique avec les arguments spécifiés, qui doivent tous avoir un résultat de type DateTime ou DateTimeOffset ou Time. Le résultat de l’expression est de type Edm.Int32.

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

Paramètres

timeValue1
DbExpression

Expression qui spécifie le premier argument de la valeur d'heure.

timeValue2
DbExpression

Expression qui spécifie le second argument de la valeur horaire.

Retours

Nouvelle DbFunctionExpression qui retourne le nombre de microsecondes qui est la différence entre timeValue1 et timeValue2.

S’applique à