Set DataColumn.hasNulls to the expected value. Throws an exception if the column should be not nullable but there are null values.