SqlFunctions
Acos(Decimal?)
Acos(Double?)
Ascii(String)
Asin(Decimal?)
Asin(Double?)
Atan(Decimal?)
Atan(Double?)
Atan2(Decimal?, Decimal?)
Atan2(Double?, Double?)
Char(Int32?)
CharIndex(Byte[], Byte[])
CharIndex(String, String)
CharIndex(Byte[], Byte[], Int32?)
CharIndex(Byte[], Byte[], Int64?)
CharIndex(String, String, Int32?)
CharIndex(String, String, Int64?)
Checksum(Boolean?)
Checksum(Byte[])
Checksum(DateTime?)
Checksum(DateTimeOffset?)
Checksum(Decimal?)
Checksum(Double?)
Checksum(Guid?)
Checksum(String)
Checksum(TimeSpan?)
Checksum(Boolean?, Boolean?)
Checksum(Byte[], Byte[])
Checksum(DateTime?, DateTime?)
Checksum(DateTimeOffset?, DateTimeOffset?)
Checksum(Decimal?, Decimal?)
Checksum(Double?, Double?)
Checksum(Guid?, Guid?)
Checksum(String, String)
Checksum(TimeSpan?, TimeSpan?)
Checksum(Boolean?, Boolean?, Boolean?)
Checksum(Byte[], Byte[], Byte[])
Checksum(DateTime?, DateTime?, DateTime?)
Checksum(DateTimeOffset?, DateTimeOffset?, DateTimeOffset?)
Checksum(Decimal?, Decimal?, Decimal?)
Checksum(Double?, Double?, Double?)
Checksum(Guid?, Guid?, Guid?)
Checksum(String, String, String)
Checksum(TimeSpan?, TimeSpan?, TimeSpan?)
ChecksumAggregate(IEnumerable<Int32?>)
ChecksumAggregate(IEnumerable<Int32>)
Cos(Decimal?)
Cos(Double?)
Cot(Decimal?)
Cot(Double?)
CurrentTimestamp()
CurrentUser()
DataLength(Boolean?)
DataLength(Byte[])
DataLength(DateTime?)
DataLength(DateTimeOffset?)
DataLength(Decimal?)
DataLength(Double?)
DataLength(Guid?)
DataLength(String)
DataLength(TimeSpan?)
DateAdd(String, Double?, DateTime?)
DateAdd(String, Double?, DateTimeOffset?)
DateAdd(String, Double?, String)
DateAdd(String, Double?, TimeSpan?)
DateDiff(String, DateTime?, DateTime?)
DateDiff(String, DateTime?, DateTimeOffset?)
DateDiff(String, DateTime?, String)
DateDiff(String, DateTime?, TimeSpan?)
DateDiff(String, DateTimeOffset?, DateTime?)
DateDiff(String, DateTimeOffset?, DateTimeOffset?)
DateDiff(String, DateTimeOffset?, String)
DateDiff(String, DateTimeOffset?, TimeSpan?)
DateDiff(String, String, DateTime?)
DateDiff(String, String, DateTimeOffset?)
DateDiff(String, String, String)
DateDiff(String, String, TimeSpan?)
DateDiff(String, TimeSpan?, DateTime?)
DateDiff(String, TimeSpan?, DateTimeOffset?)
DateDiff(String, TimeSpan?, String)
DateDiff(String, TimeSpan?, TimeSpan?)
DateName(String, DateTime?)
DateName(String, DateTimeOffset?)
DateName(String, String)
DateName(String, TimeSpan?)
DatePart(String, DateTime?)
DatePart(String, DateTimeOffset?)
DatePart(String, String)
DatePart(String, TimeSpan?)
Degrees(Decimal?)
Degrees(Double?)
Degrees(Int32?)
Degrees(Int64?)
Difference(String, String)
Exp(Decimal?)
Exp(Double?)
GetDate()
GetUtcDate()
HostName()
IsDate(String)
IsNumeric(String)
Log(Decimal?)
Log(Double?)
Log10(Decimal?)
Log10(Double?)
NChar(Int32?)
PatIndex(String, String)
Pi()
QuoteName(String)
QuoteName(String, String)
Radians(Decimal?)
Radians(Double?)
Radians(Int32?)
Radians(Int64?)
Rand()
Rand(Int32?)
Replicate(String, Int32?)
Sign(Decimal?)
Sign(Double?)
Sign(Int32?)
Sign(Int64?)
Sin(Decimal?)
Sin(Double?)
SoundCode(String)
Space(Int32?)
Square(Decimal?)
Square(Double?)
SquareRoot(Decimal?)
SquareRoot(Double?)
StringConvert(Decimal?)
StringConvert(Double?)
StringConvert(Decimal?, Int32?)
StringConvert(Double?, Int32?)
StringConvert(Decimal?, Int32?, Int32?)
StringConvert(Double?, Int32?, Int32?)
Stuff(String, Int32?, Int32?, String)
Tan(Decimal?)
Tan(Double?)
Unicode(String)
UserName()
UserName(Int32?)
net10.0-windows7.0
namespace System.Data.Entity.SqlServer
{
public static class SqlFunctions
{
[DbFunction("SqlServer", "DATEDIFF")]
public static int? DateDiff(string datePartArg, DateTimeOffset? startDate, DateTime? endDate);
}
}
Upgrade Planner | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 3.03.1 |
.NET Framework | 4.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.1 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | EntityFramework.SqlServer , Version=6.0.0.0, PublicKeyToken=b77a5c561934e089 |
Referencing | Your project needs a package reference to |
Package | EntityFramework (6.5.1) netstandard2.1 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API