EntityFunctions.DiffMilliseconds Método

Definição

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

Sobrecargas

DiffMilliseconds(Nullable<DateTime>, Nullable<DateTime>)

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

DiffMilliseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

DiffMilliseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

Comentários

Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.

Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database.

DiffMilliseconds(Nullable<DateTime>, Nullable<DateTime>)

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

public:
 static Nullable<int> DiffMilliseconds(Nullable<DateTime> timeValue1, Nullable<DateTime> timeValue2);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMilliseconds")]
public static int? DiffMilliseconds (DateTime? timeValue1, DateTime? timeValue2);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMilliseconds")>]
static member DiffMilliseconds : Nullable<DateTime> * Nullable<DateTime> -> Nullable<int>
Public Shared Function DiffMilliseconds (timeValue1 As Nullable(Of DateTime), timeValue2 As Nullable(Of DateTime)) As Nullable(Of Integer)

Parâmetros

timeValue1
Nullable<DateTime>

Uma data válida.A valid date.

timeValue2
Nullable<DateTime>

Uma data válida.A valid date.

Retornos

Nullable<Int32>

O número de milissegundos entre timeValue1 e timeValue2.The number of milliseconds between timeValue1 and timeValue2.

Atributos

Comentários

Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.

Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database.

Aplica-se a

DiffMilliseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

public:
 static Nullable<int> DiffMilliseconds(Nullable<DateTimeOffset> timeValue1, Nullable<DateTimeOffset> timeValue2);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMilliseconds")]
public static int? DiffMilliseconds (DateTimeOffset? timeValue1, DateTimeOffset? timeValue2);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMilliseconds")>]
static member DiffMilliseconds : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Nullable<int>
Public Shared Function DiffMilliseconds (timeValue1 As Nullable(Of DateTimeOffset), timeValue2 As Nullable(Of DateTimeOffset)) As Nullable(Of Integer)

Parâmetros

timeValue1
Nullable<DateTimeOffset>

Um deslocamento de data e hora válido.A valid date time offset.

timeValue2
Nullable<DateTimeOffset>

Um deslocamento de data e hora válido.A valid date time offset.

Retornos

Nullable<Int32>

O número de milissegundos entre timeValue1 e timeValue2.The number of milliseconds between timeValue1 and timeValue2.

Atributos

Comentários

Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.

Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database.

Aplica-se a

DiffMilliseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invoca a função DiffMilliseconds canônica.Invokes the canonical DiffMilliseconds function. Para obter informações sobre a função DiffMilliseconds canônica, consulte Funções canônicas de data e hora.For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

public:
 static Nullable<int> DiffMilliseconds(Nullable<TimeSpan> timeValue1, Nullable<TimeSpan> timeValue2);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMilliseconds")]
public static int? DiffMilliseconds (TimeSpan? timeValue1, TimeSpan? timeValue2);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMilliseconds")>]
static member DiffMilliseconds : Nullable<TimeSpan> * Nullable<TimeSpan> -> Nullable<int>
Public Shared Function DiffMilliseconds (timeValue1 As Nullable(Of TimeSpan), timeValue2 As Nullable(Of TimeSpan)) As Nullable(Of Integer)

Parâmetros

timeValue1
Nullable<TimeSpan>

Um período válido.A valid time span.

timeValue2
Nullable<TimeSpan>

Um período válido.A valid time span.

Retornos

Nullable<Int32>

O número de milissegundos entre timeValue1 e timeValue2.The number of milliseconds between timeValue1 and timeValue2.

Atributos

Comentários

Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.

Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database.

Aplica-se a