Partager via


EdmFunctions.Second(DbExpression) Méthode

Définition

Crée un DbFunctionExpression qui appelle la fonction « Second » canonique avec l’argument spécifié, qui doit avoir un résultat de type DateTime, DateTimeOffset ou Time. Le résultat de l’expression est de type Edm.Int32.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Second(this System.Data.Entity.Core.Common.CommandTrees.DbExpression timeValue);
static member Second : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Second (timeValue As DbExpression) As DbFunctionExpression

Paramètres

timeValue
DbExpression

Expression qui spécifie la valeur dans laquelle la seconde doit être récupérée.

Retours

Nouveau DbFunctionExpression qui retourne la valeur entière de la seconde dans timeValue.

S’applique à