EasyObjects.NET Programmers Reference

EasyObject.SetColumnNull Method 

Use this method to set a column to DBNull.Value which will translate to NULL in your DBMS system.

public virtual void SetColumnNull(
   string fieldName
);

Parameters

fieldName
The name of the column.

Remarks

Use the generated Schema class to call this function.

Example

VB.NET

emps.SetColumnNull(EmployeesSchema.MiddleInitial)
C#
emps.SetColumnNull(EmployeesSchema.MiddleInitial);

See Also

EasyObject Class | NCI.EasyObjects Namespace