Serenity.Data.SqlUpdate.SetNull C# (CSharp) Method

SetNull() public method

Sets field value to NULL.
public SetNull ( string field ) : SqlUpdate
field string /// Field (required).
return SqlUpdate
        public SqlUpdate SetNull(string field)
        {
            if (field == null || field.Length == 0)
                throw new ArgumentNullException(field);

            _nameValuePairs.Add(field);
            _nameValuePairs.Add(SqlKeywords.Null);
            return this;
        }