DbExpression Implicit 转换 (Nullable<Double> to DbExpression)

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

将一个可以为 null 的双精度对象转换为 DbExpression

命名空间:  System.Data.Entity.Core.Common.CommandTrees
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public Shared Widening Operator CType ( _
    value As Nullable(Of Double) _
) As DbExpression
用法
Dim input As Nullable(Of Double)
Dim output As DbExpression 

output = CType(input, DbExpression)
public static implicit operator DbExpression (
    Nullable<double> value
)
static implicit operator DbExpression^ (
    Nullable<double> value
)
JScript supports the use of custom casts, but not the declaration of new ones.

参数

返回值

类型:System.Data.Entity.Core.Common.CommandTrees.DbExpression
表示可以为 null 的双精度对象的 DbExpression

请参阅

参考

DbExpression 类

Implicit 重载

System.Data.Entity.Core.Common.CommandTrees 命名空间