SqlServerDbFunctionsExtensions 类

定义

提供在 LINQ to Entities 查询中使用时转换为数据库函数的 CLR 方法。 此类上的方法可通过 Functions访问。

public static class SqlServerDbFunctionsExtensions
type SqlServerDbFunctionsExtensions = class
Public Module SqlServerDbFunctionsExtensions
继承
SqlServerDbFunctionsExtensions

注解

有关详细信息和示例,请参阅数据库函数和使用 EF Core 访问SQL Server和Azure SQL数据库

方法

AtTimeZone(DbFunctions, DateTime, String)

转换为dateTime目标 timeZone中相应的 datetimeoffset 。 对应于SQL ServerAT TIME ZONE构造。

AtTimeZone(DbFunctions, DateTimeOffset, String)

转换为 dateTimeOffset 指定的 timeZone时区。 对应于SQL ServerAT TIME ZONE构造。

Contains(DbFunctions, Object, String)

可在 LINQ 查询中使用的 DbFunction 方法存根,以SQL ServerCONTAINS存储函数为目标。

Contains(DbFunctions, Object, String, Int32)

可在 LINQ 查询中使用的 DbFunction 方法存根,以SQL ServerCONTAINS存储函数为目标。

Contains(DbFunctions, String, String)

一个 DbFunction 方法存根,可在 LINQ 查询中使用,以SQL SERVER CONTAINS 存储函数为目标。

Contains(DbFunctions, String, String, Int32)

一个 DbFunction 方法存根,可在 LINQ 查询中使用,以SQL SERVER CONTAINS 存储函数为目标。

DataLength(DbFunctions, Byte[])

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<Boolean>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<DateTime>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<DateTimeOffset>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<Decimal>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<Double>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<Guid>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, Nullable<TimeSpan>)

返回用于表示任何表达式的字节数。

DataLength(DbFunctions, String)

返回用于表示任何表达式的字节数。

DateDiffDay(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的日边界数。 对应于 SQL Server 的 DATEDIFF(day, @startDate, @endDate)

DateDiffDay(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的日边界数。 对应于 SQL Server 的 DATEDIFF(day, @startDate, @endDate)

DateDiffDay(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的日边界数。 对应于 SQL Server 的 DATEDIFF(day, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的日边界数。 对应于 SQL Server 的 DATEDIFF(day, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的日边界数。 对应于 SQL Server 的 DATEDIFF(day, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的日边界数。 对应于 SQL Server 的 DATEDIFF(day, @startDate, @endDate)

DateDiffHour(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startDate, @endDate)

DateDiffHour(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startDate, @endDate)

DateDiffHour(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startDate, @endDate)

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

计算 在 和 endTime之间startTime跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startTime, @endTime)

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

计算 在 和 endTimeSpan之间startTimeSpan跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startTimeSpan, @endTimeSpan)

DateDiffHour(DbFunctions, TimeOnly, TimeOnly)

计算 在 和 endTime之间startTime跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startTime, @endTime)

DateDiffHour(DbFunctions, TimeSpan, TimeSpan)

计算 在 和 endTimeSpan之间startTimeSpan跨越的小时边界数。 对应于 SQL Server 的 DATEDIFF(hour, @startTimeSpan, @endTimeSpan)

DateDiffMicrosecond(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的微秒边界数。 对应于 SQL Server 的 DATEDIFF(microsecond, @startDate, @endDate)

DateDiffMicrosecond(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的微秒边界数。 对应于 SQL Server 的 DATEDIFF(microsecond, @startDate, @endDate)

DateDiffMicrosecond(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的微秒边界数。 对应于 SQL Server 的 DATEDIFF(microsecond, @startDate, @endDate)

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

计算 在 和 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<DateTimeOffset>, Nullable<DateTimeOffset>)

计算 在 和 endDate之间startDate跨越的微秒边界数。 对应于 SQL Server 的 DATEDIFF(microsecond, @startDate, @endDate)

DateDiffMicrosecond(DbFunctions, Nullable<TimeOnly>, Nullable<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, TimeOnly, TimeOnly)

计算 在 和 endTime之间startTime跨越的微秒边界数。 对应于 SQL Server 的 DATEDIFF(microsecond, @startTime, @endTime)

DateDiffMicrosecond(DbFunctions, TimeSpan, TimeSpan)

计算 在 和 endTimeSpan之间startTimeSpan跨越的微秒边界数。 对应于 SQL Server 的 DATEDIFF(microsecond, @startTimeSpan, @endTimeSpan)

DateDiffMillisecond(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的毫秒边界数。 对应于 SQL Server 的 DATEDIFF(millisecond, @startDate, @endDate)

DateDiffMillisecond(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的毫秒边界数。 对应于 SQL Server 的 DATEDIFF(millisecond, @startDate, @endDate)

DateDiffMillisecond(DbFunctions, DateTimeOffset, 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, Nullable<DateTime>, Nullable<DateTime>)

计算 在 和 endDate之间startDate跨越的毫秒边界数。 对应于 SQL Server 的 DATEDIFF(millisecond, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的毫秒边界数。 对应于 SQL Server 的 DATEDIFF(millisecond, @startDate, @endDate)

DateDiffMillisecond(DbFunctions, Nullable<TimeOnly>, Nullable<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, TimeOnly, TimeOnly)

计算 在 和 endTime之间startTime跨越的毫秒边界数。 对应于 SQL Server 的 DATEDIFF(millisecond, @startTime, @endTime)

DateDiffMillisecond(DbFunctions, TimeSpan, TimeSpan)

计算 在 和 endTimeSpan之间startTimeSpan跨越的毫秒边界数。 对应于 SQL Server 的 DATEDIFF(millisecond, @startTimeSpan, @endTimeSpan)

DateDiffMinute(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startDate, @endDate)

DateDiffMinute(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startDate, @endDate)

DateDiffMinute(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startDate, @endDate)

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

计算 和 endDate之间startDate跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startDate, @endDate)

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

计算 和 endDate之间startDate跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startDate, @endDate)

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

计算 和 endTime之间startTime跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startTime, @endTime)

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

计算 和 endTimeSpan之间startTimeSpan跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startTimeSpan, @endTimeSpan)

DateDiffMinute(DbFunctions, TimeOnly, TimeOnly)

计算 和 endTime之间startTime跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startTime, @endTime)

DateDiffMinute(DbFunctions, TimeSpan, TimeSpan)

计算 和 endTimeSpan之间startTimeSpan跨越的分钟边界数。 对应于 SQL Server 的 DATEDIFF(minute, @startTimeSpan, @endTimeSpan)

DateDiffMonth(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的月份边界数。 对应于 SQL Server 的 DATEDIFF(month, @startDate, @endDate)

DateDiffMonth(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的月份边界数。 对应于 SQL Server 的 DATEDIFF(month, @startDate, @endDate)

DateDiffMonth(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的月份边界数。 对应于 SQL Server 的 DATEDIFF(month, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的月份边界数。 对应于 SQL Server 的 DATEDIFF(month, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的月份边界数。 对应于 SQL Server 的 DATEDIFF(month, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的月份边界数。 对应于 SQL Server 的 DATEDIFF(month, @startDate, @endDate)

DateDiffNanosecond(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startDate, @endDate)

DateDiffNanosecond(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startDate, @endDate)

DateDiffNanosecond(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startDate, @endDate)

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

计算 在 和 endTime之间startTime跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startTime, @endTime)

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

计算 在 和 endTimeSpan之间startTimeSpan跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startTimeSpan, @endTimeSpan)

DateDiffNanosecond(DbFunctions, TimeOnly, TimeOnly)

计算 在 和 endTime之间startTime跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startTime, @endTime)

DateDiffNanosecond(DbFunctions, TimeSpan, TimeSpan)

计算 在 和 endTimeSpan之间startTimeSpan跨越的纳秒边界数。 对应于 SQL Server 的 DATEDIFF(nanosecond, @startTimeSpan, @endTimeSpan)

DateDiffSecond(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startDate, @endDate)

DateDiffSecond(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startDate, @endDate)

DateDiffSecond(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startDate, @endDate)

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

计算 在 和 endTime之间startTime跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startTime, @endTime)

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

计算 在 和 endTimeSpan之间startTimeSpan跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startTimeSpan, @endTimeSpan)

DateDiffSecond(DbFunctions, TimeOnly, TimeOnly)

计算 在 和 endTime之间startTime跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startTime, @endTime)

DateDiffSecond(DbFunctions, TimeSpan, TimeSpan)

计算 在 和 endTimeSpan之间startTimeSpan跨越的第二个边界的数目。 对应于 SQL Server 的 DATEDIFF(second, @startTimeSpan, @endTimeSpan)

DateDiffWeek(DbFunctions, DateOnly, DateOnly)

计算 在 和 endDate之间startDate跨越的周边界数。 对应于 SQL Server 的 DATEDIFF(week, @startDate, @endDate)

DateDiffWeek(DbFunctions, DateTime, DateTime)

计算 在 和 endDate之间startDate跨越的周边界数。 对应于 SQL Server 的 DATEDIFF(week, @startDate, @endDate)

DateDiffWeek(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 在 和 endDate之间startDate跨越的周边界数。 对应于 SQL Server 的 DATEDIFF(week, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的周边界数。 对应于 SQL Server 的 DATEDIFF(week, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的周边界数。 对应于 SQL Server 的 DATEDIFF(week, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的周边界数。 对应于 SQL Server 的 DATEDIFF(week, @startDate, @endDate)

DateDiffYear(DbFunctions, DateOnly, DateOnly)

计算 和 endDate之间startDate跨越的年份边界数。 对应于 SQL Server 的 DATEDIFF(year, @startDate, @endDate)

DateDiffYear(DbFunctions, DateTime, DateTime)

计算 和 endDate之间startDate跨越的年份边界数。 对应于 SQL Server 的 DATEDIFF(year, @startDate, @endDate)

DateDiffYear(DbFunctions, DateTimeOffset, DateTimeOffset)

计算 和 endDate之间startDate跨越的年份边界数。 对应于 SQL Server 的 DATEDIFF(year, @startDate, @endDate)

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

计算 和 endDate之间startDate跨越的年份边界数。 对应于 SQL Server 的 DATEDIFF(year, @startDate, @endDate)

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

计算 在 和 endDate之间startDate跨越的年份边界数。 对应于 SQL Server 的 DATEDIFF(year, @startDate, @endDate)

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

计算 和 endDate之间startDate跨越的年份边界数。 对应于 SQL Server 的 DATEDIFF(year, @startDate, @endDate)

DateFromParts(DbFunctions, Int32, Int32, Int32)

将 结构的新实例 DateTime 初始化为指定的年、月、日。 对应于 SQL Server 的 DATEFROMPARTS(year, month, day)

DateTime2FromParts(DbFunctions, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

将 结构的新实例 DateTime 初始化为指定的年、月、日、小时、分钟、秒、分数和精度。 对应于 SQL Server 的 DATETIME2FROMPARTS(year, month, day, hour, minute, seconds, fractions, precision)

DateTimeFromParts(DbFunctions, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

DateTime 结构的新实例初始化为指定的年、月、日、小时、分钟、秒和毫秒。 对应于 SQL Server 的 DATETIMEFROMPARTS(year, month, day, hour, minute, second, millisecond)

DateTimeOffsetFromParts(DbFunctions, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

将 结构的新实例 DateTimeOffset 初始化为指定的年、月、日、小时、分钟、秒、分数、hourOffset、minuteOffset 和精度。 对应于SQL Server的 DATETIMEOFFSETFROMPARTS(year, month, day, hour, minute, seconds, fractions, hour_offset, minute_offset, precision) .

FreeText(DbFunctions, Object, String)

DbFunction 方法存根,可在 LINQ 查询中使用,以SQL ServerFREETEXT存储函数为目标。

FreeText(DbFunctions, Object, String, Int32)

DbFunction 方法存根,可在 LINQ 查询中使用,以SQL ServerFREETEXT存储函数为目标。

FreeText(DbFunctions, String, String)

DbFunction 方法存根,可用于 LINQ 查询中,以SQL SERVER FREETEXT 存储函数为目标。

FreeText(DbFunctions, String, String, Int32)

DbFunction 方法存根,可用于 LINQ 查询中,以SQL SERVER FREETEXT 存储函数为目标。

IsDate(DbFunctions, String)

验证给定字符串是否为有效日期。 对应于 SQL Server 的 ISDATE('date')

IsNumeric(DbFunctions, String)

验证给定的字符串是否为有效的数值。 对应于 SQL Server ISNUMERIC(expression)

SmallDateTimeFromParts(DbFunctions, Int32, Int32, Int32, Int32, Int32)

将 结构的新实例 DateTime 初始化为指定的年、月、日、小时和分钟。 对应于 SQL Server 的 SMALLDATETIMEFROMPARTS(year, month, day, hour, minute)

StandardDeviationPopulation(DbFunctions, IEnumerable<Byte>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationPopulation(DbFunctions, IEnumerable<Decimal>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationPopulation(DbFunctions, IEnumerable<Double>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationPopulation(DbFunctions, IEnumerable<Int16>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationPopulation(DbFunctions, IEnumerable<Int32>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationPopulation(DbFunctions, IEnumerable<Int64>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationPopulation(DbFunctions, IEnumerable<Single>)

返回指定表达式中所有值的总体标准偏差。 对应于 SQL Server 的 STDEVP

StandardDeviationSample(DbFunctions, IEnumerable<Byte>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

StandardDeviationSample(DbFunctions, IEnumerable<Decimal>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

StandardDeviationSample(DbFunctions, IEnumerable<Double>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

StandardDeviationSample(DbFunctions, IEnumerable<Int16>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

StandardDeviationSample(DbFunctions, IEnumerable<Int32>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

StandardDeviationSample(DbFunctions, IEnumerable<Int64>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

StandardDeviationSample(DbFunctions, IEnumerable<Single>)

返回指定表达式中所有值的样本标准偏差。 对应于 SQL Server 的 STDEV

TimeFromParts(DbFunctions, Int32, Int32, Int32, Int32, Int32)

将 结构的新实例 TimeSpan 初始化为指定的小时、分钟、秒、分数和精度。 对应于 SQL Server 的 TIMEFROMPARTS(hour, minute, seconds, fractions, precision)

VariancePopulation(DbFunctions, IEnumerable<Byte>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VariancePopulation(DbFunctions, IEnumerable<Decimal>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VariancePopulation(DbFunctions, IEnumerable<Double>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VariancePopulation(DbFunctions, IEnumerable<Int16>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VariancePopulation(DbFunctions, IEnumerable<Int32>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VariancePopulation(DbFunctions, IEnumerable<Int64>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VariancePopulation(DbFunctions, IEnumerable<Single>)

返回指定表达式中所有值的总体方差。 对应于 SQL Server 的 VARP

VarianceSample(DbFunctions, IEnumerable<Byte>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

VarianceSample(DbFunctions, IEnumerable<Decimal>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

VarianceSample(DbFunctions, IEnumerable<Double>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

VarianceSample(DbFunctions, IEnumerable<Int16>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

VarianceSample(DbFunctions, IEnumerable<Int32>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

VarianceSample(DbFunctions, IEnumerable<Int64>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

VarianceSample(DbFunctions, IEnumerable<Single>)

返回指定表达式中所有值的样本方差。 对应于 SQL Server 的 VAR

适用于