{
Item = System.Convert.ToString(test.SEQUENCE),
ID = test.ID,
Description = test.DESCRIPTION,
Name = test.Name,
Desc = test.Desc
}
);
Now, if I execute this, the SQL basically queries the database and says SEQ_STAFF = 1
Howvever, if I don't populate seq2 as the optional integer... the SQL code executes as SEQ_STAFF = null
This should be executing SEQ_STAFF IS NULL
Can anyone help here?
THanks,
Nick