Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsNotAllowDBNullViolated()

bool System.Data.DataColumn.IsNotAllowDBNullViolated ( )
inlinepackage

Definition at line 1513 of file DataColumn.cs.

1514 {
1516 DataRow[] rows = sortIndex.GetRows(sortIndex.FindRecords(DBNull.Value));
1517 for (int i = 0; i < rows.Length; i++)
1518 {
1519 string text = ExceptionBuilder.NotAllowDBNullViolationText(ColumnName);
1520 rows[i].RowError = text;
1521 rows[i].SetColumnError(this, text);
1522 }
1523 return rows.Length != 0;
1524 }

References System.Data.DataColumn.ColumnName, System.Xml.Dictionary, System.Data.ExceptionBuilder.NotAllowDBNullViolationText(), System.Data.DataColumn.SortIndex, System.text, and System.DBNull.Value.