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

◆ CanResetValue()

override bool System.Data.DataColumnPropertyDescriptor.CanResetValue ( object component)
inline

Definition at line 66 of file DataColumnPropertyDescriptor.cs.

67 {
68 DataRowView dataRowView = (DataRowView)component;
69 if (!Column.IsSqlType)
70 {
71 return dataRowView.GetColumnValue(Column) != DBNull.Value;
72 }
73 return !DataStorage.IsObjectNull(dataRowView.GetColumnValue(Column));
74 }
static bool IsObjectNull(object value)

References System.Data.DataColumnPropertyDescriptor.Column, System.Data.DataRowView.GetColumnValue(), System.Data.Common.DataStorage.IsObjectNull(), System.Data.DataColumn.IsSqlType, and System.DBNull.Value.