DbExpression.FromDateTimeOffset Method (Nullable<DateTimeOffset>)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public static DbExpression FromDateTimeOffset(
	Nullable<DateTimeOffset> value
)

Parameters

value
Type: System.Nullable<DateTimeOffset>

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

Return Value

Type: System.Data.Common.CommandTrees.DbExpression

A DbExpression that represents the specified DateTimeOffset value.

.NET Framework
Available since 4.5
Return to top
Show: