다음을 통해 공유


EntityFunctions.DiffMicroseconds 메서드

정의

오버로드

DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

LINQ to Entities 쿼리의 일부로 사용되는 경우 이 메서드는 정식 DiffMicroseconds EDM 함수를 호출하여 두 시간 범위 사이의 마이크로초 수를 계산합니다.

DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>)

LINQ to Entities 쿼리의 일부로 사용되는 경우 이 메서드는 정식 DiffMicroseconds EDM 함수를 호출하여 두 날짜/시간 사이의 마이크로초 수를 계산합니다.

DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

LINQ to Entities 쿼리의 일부로 사용되는 경우 이 메서드는 정식 DiffMicroseconds EDM 함수를 호출하여 두 날짜/시간 사이의 마이크로초 수를 계산합니다.

DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

LINQ to Entities 쿼리의 일부로 사용되는 경우 이 메서드는 정식 DiffMicroseconds EDM 함수를 호출하여 두 시간 범위 사이의 마이크로초 수를 계산합니다.

[System.Data.Entity.DbFunction("Edm", "DiffMicroseconds")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="timeValue1")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="timeValue2")]
public static Nullable<int> DiffMicroseconds (Nullable<TimeSpan> timeValue1, Nullable<TimeSpan> timeValue2);
static member DiffMicroseconds : Nullable<TimeSpan> * Nullable<TimeSpan> -> Nullable<int>
Public Shared Function DiffMicroseconds (timeValue1 As Nullable(Of TimeSpan), timeValue2 As Nullable(Of TimeSpan)) As Nullable(Of Integer)

매개 변수

timeValue1
Nullable<TimeSpan>

첫 번째 범위입니다.

timeValue2
Nullable<TimeSpan>

두 번째 시간 범위입니다.

반환

첫 번째와 두 번째 시간 범위 사이의 마이크로초 수입니다.

특성

설명

이 함수는 직접 호출할 수 없습니다. 이 함수는 LINQ to Entities 쿼리 내에만 나타날 수 있습니다. 이 함수는 데이터베이스의 해당 함수로 변환됩니다.

적용 대상

DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>)

LINQ to Entities 쿼리의 일부로 사용되는 경우 이 메서드는 정식 DiffMicroseconds EDM 함수를 호출하여 두 날짜/시간 사이의 마이크로초 수를 계산합니다.

[System.Data.Entity.DbFunction("Edm", "DiffMicroseconds")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="timeValue1")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="timeValue2")]
public static Nullable<int> DiffMicroseconds (Nullable<DateTime> timeValue1, Nullable<DateTime> timeValue2);
static member DiffMicroseconds : Nullable<DateTime> * Nullable<DateTime> -> Nullable<int>
Public Shared Function DiffMicroseconds (timeValue1 As Nullable(Of DateTime), timeValue2 As Nullable(Of DateTime)) As Nullable(Of Integer)

매개 변수

timeValue1
Nullable<DateTime>

첫 번째 날짜/시간입니다.

timeValue2
Nullable<DateTime>

두 번째 날짜/시간입니다.

반환

첫 번째 날짜/두 번째 날짜/시간 사이의 마이크로초 수입니다.

특성

설명

이 함수는 직접 호출할 수 없습니다. 이 함수는 LINQ to Entities 쿼리 내에만 나타날 수 있습니다. 이 함수는 데이터베이스의 해당 함수로 변환됩니다.

적용 대상

DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

LINQ to Entities 쿼리의 일부로 사용되는 경우 이 메서드는 정식 DiffMicroseconds EDM 함수를 호출하여 두 날짜/시간 사이의 마이크로초 수를 계산합니다.

[System.Data.Entity.DbFunction("Edm", "DiffMicroseconds")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="timeValue2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="timeValue1")]
public static Nullable<int> DiffMicroseconds (Nullable<DateTimeOffset> timeValue1, Nullable<DateTimeOffset> timeValue2);
static member DiffMicroseconds : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Nullable<int>
Public Shared Function DiffMicroseconds (timeValue1 As Nullable(Of DateTimeOffset), timeValue2 As Nullable(Of DateTimeOffset)) As Nullable(Of Integer)

매개 변수

timeValue1
Nullable<DateTimeOffset>

첫 번째 날짜/시간입니다.

timeValue2
Nullable<DateTimeOffset>

두 번째 날짜/시간입니다.

반환

첫 번째 날짜/두 번째 날짜/시간 사이의 마이크로초 수입니다.

특성

설명

이 함수는 직접 호출할 수 없습니다. 이 함수는 LINQ to Entities 쿼리 내에만 나타날 수 있습니다. 이 함수는 데이터베이스의 해당 함수로 변환됩니다.

적용 대상