DbUpdatableDataRecord.SetDBNull Method (Int32)

 

Sets a field to the DBNull value.

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

public void SetDBNull(
	int ordinal
)

Parameters

ordinal
Type: System.Int32

The ordinal of the field.