다음을 통해 공유


SqlServerDbFunctionsExtensions.DateDiffMillisecond 메서드

정의

오버로드

DateDiffMillisecond(DbFunctions, TimeSpan, TimeSpan)

endTimeSpan간에 startTimeSpan 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

DateDiffMillisecond(DbFunctions, TimeOnly, TimeOnly)

endTime간에 startTime 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTime, @endTime)에 해당합니다.

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

endTimeSpan간에 startTimeSpan 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

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

endTime간에 startTime 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTime, @endTime)에 해당합니다.

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

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

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

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

DateDiffMillisecond(DbFunctions, DateTimeOffset, DateTimeOffset)

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

DateDiffMillisecond(DbFunctions, DateTime, DateTime)

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

DateDiffMillisecond(DbFunctions, DateOnly, DateOnly)

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

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

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

DateDiffMillisecond(DbFunctions, TimeSpan, TimeSpan)

endTimeSpan간에 startTimeSpan 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

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

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startTimeSpan
TimeSpan

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

endTimeSpan
TimeSpan

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

반환

시간 범위 간에 교차된 밀리초 경계 수입니다.

설명

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

적용 대상

DateDiffMillisecond(DbFunctions, TimeOnly, TimeOnly)

endTime간에 startTime 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTime, @endTime)에 해당합니다.

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

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startTime
TimeOnly

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

endTime
TimeOnly

계산 종료 시간입니다.

반환

시간 사이에 교차된 밀리초 경계 수입니다.

설명

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

적용 대상

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

endTimeSpan간에 startTimeSpan 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTimeSpan, @endTimeSpan)에 해당합니다.

public static int? DateDiffMillisecond (this Microsoft.EntityFrameworkCore.DbFunctions _, TimeSpan? startTimeSpan, TimeSpan? endTimeSpan);
static member DateDiffMillisecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<TimeSpan> * Nullable<TimeSpan> -> Nullable<int>
<Extension()>
Public Function DateDiffMillisecond (_ 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 데이터베이스 액세스를 참조하세요.

적용 대상

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

endTime간에 startTime 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startTime, @endTime)에 해당합니다.

public static int? DateDiffMillisecond (this Microsoft.EntityFrameworkCore.DbFunctions _, TimeOnly? startTime, TimeOnly? endTime);
static member DateDiffMillisecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<TimeOnly> * Nullable<TimeOnly> -> Nullable<int>
<Extension()>
Public Function DateDiffMillisecond (_ 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 데이터베이스 액세스를 참조하세요.

적용 대상

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

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

public static int? DateDiffMillisecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateTimeOffset? startDate, DateTimeOffset? endDate);
static member DateDiffMillisecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Nullable<int>
<Extension()>
Public Function DateDiffMillisecond (_ 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 데이터베이스 액세스를 참조하세요.

적용 대상

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

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

public static int? DateDiffMillisecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateOnly? startDate, DateOnly? endDate);
static member DateDiffMillisecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<DateOnly> * Nullable<DateOnly> -> Nullable<int>
<Extension()>
Public Function DateDiffMillisecond (_ 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 데이터베이스 액세스를 참조하세요.

적용 대상

DateDiffMillisecond(DbFunctions, DateTimeOffset, DateTimeOffset)

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

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

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
DateTimeOffset

계산 시작 날짜입니다.

endDate
DateTimeOffset

계산 종료 날짜입니다.

반환

날짜 사이에 교차된 밀리초 경계 수입니다.

설명

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

적용 대상

DateDiffMillisecond(DbFunctions, DateTime, DateTime)

endDate간에 startDate 교차하는 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

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

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
DateTime

계산 시작 날짜입니다.

endDate
DateTime

계산 종료 날짜입니다.

반환

날짜 사이에 교차된 밀리초 경계 수입니다.

설명

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

적용 대상

DateDiffMillisecond(DbFunctions, DateOnly, DateOnly)

endDate사이에 startDate 교차된 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

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

매개 변수

_
DbFunctions

DbFunctions 인스턴스입니다.

startDate
DateOnly

계산 시작 날짜입니다.

endDate
DateOnly

계산 종료 날짜입니다.

반환

날짜 간에 교차된 밀리초 경계 수입니다.

설명

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

적용 대상

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

endDate사이에 startDate 교차된 밀리초 경계 수를 계산합니다. SQL Server DATEDIFF(millisecond, @startDate, @endDate)에 해당합니다.

public static int? DateDiffMillisecond (this Microsoft.EntityFrameworkCore.DbFunctions _, DateTime? startDate, DateTime? endDate);
static member DateDiffMillisecond : Microsoft.EntityFrameworkCore.DbFunctions * Nullable<DateTime> * Nullable<DateTime> -> Nullable<int>
<Extension()>
Public Function DateDiffMillisecond (_ 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 데이터베이스 액세스를 참조하세요.

적용 대상