DbExpression Implicit Conversion Operators
Converts the specified object to the specified value.
Assembly: EntityFramework (in EntityFramework.dll)
DbExpression Implicit Conversion (Byte[] to DbExpression)
Converts an array of 8-bit unsigned integer to a DbExpression.
Parameters
- value
-
Type:
System.Byte[]
An array of 8-bit unsigned integer.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the converted array of 8-bit unsigned integer.
DbExpression Implicit Conversion (DbGeography to DbExpression)
Converts a DbGeography object to DbExpression.
Parameters
- value
-
Type:
System.Data.Entity.Spatial.DbGeography
The DbGeography object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the converted DbGeography object.
DbExpression Implicit Conversion (DbGeometry to DbExpression)
Converts a DBGeometry object to DbExpression.
Parameters
- value
-
Type:
System.Data.Entity.Spatial.DbGeometry
The DbGeometry object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the converted DbGeography object.
DbExpression Implicit Conversion (Nullable<Boolean> to DbExpression)
Converts a nullable Boolean object to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Boolean>
The nullable Boolean object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the converted nullable Boolean object.
DbExpression Implicit Conversion (Nullable<Byte> to DbExpression)
Converts a nullable 8-bit unsigned integer to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Byte>
A nullable 8-bit unsigned integer.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the converted 8-bit unsigned integer.
DbExpression Implicit Conversion (Nullable<DateTime> to DbExpression)
Converts a nullable DateTime object to DbExpression.
Parameters
- value
-
Type:
System.Nullable<DateTime>
The nullable DateTime object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the DateTime object.
DbExpression Implicit Conversion (Nullable<DateTimeOffset> to DbExpression)
Converts a nullable DateTimeOffset object to DbExpression.
Parameters
- value
-
Type:
System.Nullable<DateTimeOffset>
The nullable DateTime object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable DateTime.
DbExpression Implicit Conversion (Nullable<Decimal> to DbExpression)
Converts a nullable Decimal object to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Decimal>
The nullable Decimal object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable Decimal object.
DbExpression Implicit Conversion (Nullable<Double> to DbExpression)
Converts a nullable double object to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Double>
The nullable double object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable double object.
DbExpression Implicit Conversion (Nullable<Guid> to DbExpression)
Converts a nullable Guid object to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Guid>
A nullable Guid object.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable Guid object.
DbExpression Implicit Conversion (Nullable<Int16> to DbExpression)
Converts a nullable 16-bit unsigned integer to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Int16>
A nullable 16-bit unsigned integer.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable 16-bit unsigned integer.
DbExpression Implicit Conversion (Nullable<Int32> to DbExpression)
Converts a nullable 32-bit unsigned integer to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Int32>
A nullable 32-bit unsigned integer.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable 32-bit unsigned integer.
DbExpression Implicit Conversion (Nullable<Int64> to DbExpression)
Converts a nullable 64-bit unsigned integer to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Int64>
A nullable 64-bit unsigned integer.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents the nullable 64-bit unsigned integer.
DbExpression Implicit Conversion (Nullable<Single> to DbExpression)
Converts a nullable single-precision floating-point number to DbExpression.
Parameters
- value
-
Type:
System.Nullable<Single>
The single-precision floating-point number.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents a single-precision floating-point number.
DbExpression Implicit Conversion (String to DbExpression)
Converts a sequential collection of Unicode characters DbExpression.
Parameters
- value
-
Type:
System.String
A sequential collection of Unicode characters.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionA DbExpression that represents a sequential collection of Unicode characters.