다음을 통해 공유


SqlServerDbFunctionsExtensions.DateDiffMicrosecond 메서드

정의

오버로드

DateDiffMicrosecond(DbFunctions, Nullable<TimeOnly>, Nullable<TimeOnly>)

endTime간에 startTime 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTime, @endTime)에 해당합니다.

DateDiffMicrosecond(DbFunctions, TimeSpan, TimeSpan)

endTimeSpan간에 startTimeSpan 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

DateDiffMicrosecond(DbFunctions, TimeOnly, TimeOnly)

endTime간에 startTime 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTime, @endTime)에 해당합니다.

DateDiffMicrosecond(DbFunctions, Nullable<TimeSpan>, Nullable<TimeSpan>)

endTimeSpan간에 startTimeSpan 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

DateDiffMicrosecond(DbFunctions, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

DateDiffMicrosecond(DbFunctions, Nullable<DateTime>, Nullable<DateTime>)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

DateDiffMicrosecond(DbFunctions, Nullable<DateOnly>, Nullable<DateOnly>)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

DateDiffMicrosecond(DbFunctions, DateTimeOffset, DateTimeOffset)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

DateDiffMicrosecond(DbFunctions, DateTime, DateTime)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

DateDiffMicrosecond(DbFunctions, DateOnly, DateOnly)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

DateDiffMicrosecond(DbFunctions, Nullable<TimeOnly>, Nullable<TimeOnly>)

endTime간에 startTime 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTime, @endTime)에 해당합니다.

public static int? DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, TimeOnly? startTime, TimeOnly? endTime);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<TimeOnly> * Nullable<TimeOnly> -> Nullable<int>
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startTime As Nullable(Of TimeOnly), endTime As Nullable(Of TimeOnly)) As Nullable(Of Integer)

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startTime
Nullable<TimeOnly>

계산을 위한 시작 시간입니다.

endTime
Nullable<TimeOnly>

계산 종료 시간입니다.

반환

시간 사이에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, TimeSpan, TimeSpan)

endTimeSpan간에 startTimeSpan 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

public static int DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, TimeSpan startTimeSpan, TimeSpan endTimeSpan);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * TimeSpan * TimeSpan -> int
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startTimeSpan As TimeSpan, endTimeSpan As TimeSpan) As Integer

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startTimeSpan
TimeSpan

계산에 대한 시작 시간 범위입니다.

endTimeSpan
TimeSpan

계산에 대한 종료 시간 범위입니다.

반환

시간 범위 간에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, TimeOnly, TimeOnly)

endTime간에 startTime 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTime, @endTime)에 해당합니다.

public static int DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, TimeOnly startTime, TimeOnly endTime);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * TimeOnly * TimeOnly -> int
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startTime As TimeOnly, endTime As TimeOnly) As Integer

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startTime
TimeOnly

계산을 위한 시작 시간입니다.

endTime
TimeOnly

계산 종료 시간입니다.

반환

시간 사이에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, Nullable<TimeSpan>, Nullable<TimeSpan>)

endTimeSpan간에 startTimeSpan 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

public static int? DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, TimeSpan? startTimeSpan, TimeSpan? endTimeSpan);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<TimeSpan> * Nullable<TimeSpan> -> Nullable<int>
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startTimeSpan As Nullable(Of TimeSpan), endTimeSpan As Nullable(Of TimeSpan)) As Nullable(Of Integer)

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startTimeSpan
Nullable<TimeSpan>

계산에 대한 시작 시간 범위입니다.

endTimeSpan
Nullable<TimeSpan>

계산에 대한 종료 시간 범위입니다.

반환

시간 범위 간에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

public static int? DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateTimeOffset? startDate, DateTimeOffset? endDate);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Nullable<int>
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startDate As Nullable(Of DateTimeOffset), endDate As Nullable(Of DateTimeOffset)) As Nullable(Of Integer)

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
Nullable<DateTimeOffset>

계산 시작 날짜입니다.

endDate
Nullable<DateTimeOffset>

계산 종료 날짜입니다.

반환

날짜 사이에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, Nullable<DateTime>, Nullable<DateTime>)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

public static int? DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateTime? startDate, DateTime? endDate);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<DateTime> * Nullable<DateTime> -> Nullable<int>
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startDate As Nullable(Of DateTime), endDate As Nullable(Of DateTime)) As Nullable(Of Integer)

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
Nullable<DateTime>

계산 시작 날짜입니다.

endDate
Nullable<DateTime>

계산 종료 날짜입니다.

반환

날짜 사이에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, Nullable<DateOnly>, Nullable<DateOnly>)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

public static int? DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateOnly? startDate, DateOnly? endDate);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<DateOnly> * Nullable<DateOnly> -> Nullable<int>
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startDate As Nullable(Of DateOnly), endDate As Nullable(Of DateOnly)) As Nullable(Of Integer)

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
Nullable<DateOnly>

계산 시작 날짜입니다.

endDate
Nullable<DateOnly>

계산 종료 날짜입니다.

반환

날짜 사이에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, DateTimeOffset, DateTimeOffset)

endDate간에 startDate 교차하는 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

public static int DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateTimeOffset startDate, DateTimeOffset endDate);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * DateTimeOffset * DateTimeOffset -> int
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startDate As DateTimeOffset, endDate As DateTimeOffset) As Integer

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
DateTimeOffset

계산 시작 날짜입니다.

endDate
DateTimeOffset

계산 종료 날짜입니다.

반환

날짜 사이에 교차된 마이크로초 경계의 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, DateTime, DateTime)

endDate사이에 startDate 교차된 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

public static int DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateTime startDate, DateTime endDate);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * DateTime * DateTime -> int
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startDate As DateTime, endDate As DateTime) As Integer

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
DateTime

계산 시작 날짜입니다.

endDate
DateTime

계산 종료 날짜입니다.

반환

날짜 간에 교차된 마이크로초 경계 수입니다.

설명

자세한 내용과 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMicrosecond(DbFunctions, DateOnly, DateOnly)

endDate사이에 startDate 교차된 마이크로초 경계의 수를 계산합니다. SQL Server DATEDIFF(microsecond, @startDate, @endDate)에 해당합니다.

public static int DateDiffMicrosecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateOnly startDate, DateOnly endDate);
static member DateDiffMicrosecond : Microsoft.EntityFrameworkCore.DbFunctions * DateOnly * DateOnly -> int
<Extension()>
Public Function DateDiffMicrosecond (_ As DbFunctions, startDate As DateOnly, endDate As DateOnly) As Integer

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
DateOnly

계산 시작 날짜입니다.

endDate
DateOnly

계산 종료 날짜입니다.

반환

날짜 간에 교차된 마이크로초 경계 수입니다.

설명

자세한 내용 및 예제는 데이터베이스 함수EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

적용 대상