EntityFunctions Class

EntityFunctions Class

.NET Framework (current version)
 

Provides common language runtime (CLR) methods that expose conceptual model canonical functions in LINQ to Entities queries. For information about canonical functions, see Canonical Functions.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

System.Object
  System.Data.Objects.EntityFunctions

public static class EntityFunctions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddDays(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddDays function. For information about the canonical AddDays function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddDays(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddDays function. For information about the canonical AddDays function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddHours(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddHours(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddHours(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMicroseconds(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddMicroseconds function. For information about the canonical AddMicroseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMicroseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddMicroseconds function. For information about the canonical AddMicroseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMicroseconds(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddMicroseconds function. For information about the canonical AddMicroseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMilliseconds(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddMilliseconds function. For information about the canonical AddMilliseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMilliseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddMilliseconds function. For information about the canonical AddMilliseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMilliseconds(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddMilliseconds function. For information about the canonical AddMilliseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMinutes(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddMinutes function. For information about the canonical AddMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMinutes(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddMinutes function. For information about the canonical AddMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMinutes(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddMinutes function. For information about the canonical AddMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMonths(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddMonths function. For information about the canonical AddMonths function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddMonths(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddMonths function. For information about the canonical AddMonths function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddNanoseconds(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddNanoseconds function. For information about the canonical AddNanoseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddNanoseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddNanoseconds function. For information about the canonical AddNanoseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddNanoseconds(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddNanoseconds function. For information about the canonical AddNanoseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddSeconds(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddSeconds function. For information about the canonical AddSeconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddSeconds(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddSeconds function. For information about the canonical AddSeconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddSeconds(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddSeconds function. For information about the canonical AddSeconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddYears(Nullable<DateTime>, Nullable<Int32>)

Invokes the canonical AddYears function. For information about the canonical AddYears function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAddYears(Nullable<DateTimeOffset>, Nullable<Int32>)

Invokes the canonical AddYears function. For information about the canonical AddYears function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticAsNonUnicode(String)

A LINQ to Entities operator that treats the input string as a non-unicode string. This method only applies to LINQ to Entities queries.

System_CAPS_pubmethodSystem_CAPS_staticAsUnicode(String)

A LINQ to Entities operator that ensures the input string is treated as a unicode string. This method only applies to LINQ to Entities queries.

System_CAPS_pubmethodSystem_CAPS_staticCreateDateTime(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>)

Invokes the canonical CreateDateTime function. For information about the canonical CreateDateTime function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticCreateDateTimeOffset(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>)

Invokes the canonical CreateDateTimeOffset function. For information about the canonical CreateDateTimeOffset function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticCreateTime(Nullable<Int32>, Nullable<Int32>, Nullable<Double>)

Invokes the canonical CreateTime function. For information about the canonical CreateTime function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffDays(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffDays function. For information about the canonical DiffDays function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffDays(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffDays function. For information about the canonical DiffDays function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffHours(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffHours function. For information about the canonical DiffHours function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffHours(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffHours function. For information about the canonical DiffHours function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffHours(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invokes the canonical DiffHours function. For information about the canonical DiffHours function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffMicroseconds function. For information about the canonical DiffMicroseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffMicroseconds function. For information about the canonical DiffMicroseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invokes the canonical DiffMicroseconds function. For information about the canonical DiffMicroseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMilliseconds(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffMilliseconds function. For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMilliseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffMilliseconds function. For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMilliseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invokes the canonical DiffMilliseconds function. For information about the canonical DiffMilliseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMinutes(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffMinutes function. For information about the canonical DiffMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMinutes(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffMinutes function. For information about the canonical DiffMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMinutes(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invokes the canonical DiffMinutes function. For information about the canonical DiffMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMonths(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffMonths function. For information about the canonical DiffMonths function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffMonths(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffMonths function. For information about the canonical DiffMonths function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffNanoseconds(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffNanoseconds function. For information about the canonical DiffNanoseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffNanoseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffNanoseconds function. For information about the canonical DiffNanoseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffNanoseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invokes the canonical DiffNanoseconds function. For information about the canonical DiffNanoseconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffSeconds(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffSeconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffSeconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffYears(Nullable<DateTime>, Nullable<DateTime>)

Invokes the canonical DiffYears function. For information about the canonical DiffYears function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticDiffYears(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Invokes the canonical DiffYears function. For information about the canonical DiffYears function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticGetTotalOffsetMinutes(Nullable<DateTimeOffset>)

Invokes the canonical GetTotalOffsetMinutes function. For information about the canonical GetTotalOffsetMinutes function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticLeft(String, Nullable<Int64>)

Invokes the canonical Left function. For information about the canonical Left function, see String Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticReverse(String)

Invokes the canonical Reverse function. For information about the canonical Reverse function, see String Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticRight(String, Nullable<Int64>)

Invokes the canonical Right function. For information about the canonical Right function, see String Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Decimal>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Double>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Int32>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Int64>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Nullable<Decimal>>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Nullable<Double>>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Nullable<Int32>>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviation(IEnumerable<Nullable<Int64>>)

Invokes the canonical StDev function. For information about the canonical StDev function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Decimal>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Double>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Int32>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Int64>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Nullable<Decimal>>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Nullable<Double>>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Nullable<Int32>>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticStandardDeviationP(IEnumerable<Nullable<Int64>>)

Invokes the canonical StDevP function. For information about the canonical StDevP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticTruncate(Nullable<Decimal>, Nullable<Int32>)

Invokes the canonical Truncate function. For information about the canonical Truncate function, seeMath Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticTruncate(Nullable<Double>, Nullable<Int32>)

Invokes the canonical Truncate function. For information about the canonical Truncate function, seeMath Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticTruncateTime(Nullable<DateTime>)

Invokes the canonical TruncateTime function. For information about the canonical TruncateTime function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticTruncateTime(Nullable<DateTimeOffset>)

Invokes the canonical TruncateTime function. For information about the canonical TruncateTime function, see Date and Time Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Decimal>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Double>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Int32>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Int64>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Nullable<Decimal>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Nullable<Double>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Nullable<Int32>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVar(IEnumerable<Nullable<Int64>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Decimal>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Double>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Int32>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Int64>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Nullable<Decimal>>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Nullable<Double>>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Nullable<Int32>>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

System_CAPS_pubmethodSystem_CAPS_staticVarP(IEnumerable<Nullable<Int64>>)

Invokes the canonical VarP function. For information about the canonical VarP function, see Canonical Functions.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft