DbExpression.FromDecimal Method (Nullable<Decimal>)

 

Creates a DbExpression that represents the specified (nullable) decimal value.

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbExpression FromDecimal(
	Nullable<decimal> value
)

Parameters

value
Type: System.Nullable<Decimal>

The decimal value on which the returned expression should be based.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

A DbExpression that represents the specified decimal value.