DbUpdatableDataRecord.SetDateTime Method (Int32, DateTime)

 

Sets the value of a field in a record.

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

public void SetDateTime(
	int ordinal,
	DateTime value
)

Parameters

ordinal
Type: System.Int32

The ordinal of the field.

value
Type: System.DateTime

The value of the field.