9 writes to _defaultValue
System.Data.Common (9)
System\Data\DataColumn.cs (9)
514
_defaultValue
= BigIntegerStorage.ConvertFromBigInteger((BigInteger)_defaultValue, value, FormatProvider);
518
_defaultValue
= BigIntegerStorage.ConvertToBigInteger(_defaultValue, FormatProvider);
523
_defaultValue
= DefaultValue.ToString()!;
528
_defaultValue
= SqlConvert.ConvertToSqlString(DefaultValue);
653
_defaultValue
= _storage._nullValue;
657
_defaultValue
= SqlConvert.ChangeTypeForDefaultValue(_defaultValue, _dataType, FormatProvider);
664
_defaultValue
= propInfo.GetValue(null, null)!;
694
_defaultValue
= newDefaultValue;
1537
clone.
_defaultValue
= _defaultValue;
12 references to _defaultValue
System.Data.Common (12)
System\Data\DataColumn.cs (12)
512
if (
_defaultValue
is BigInteger)
514
_defaultValue = BigIntegerStorage.ConvertFromBigInteger((BigInteger)
_defaultValue
, value, FormatProvider);
518
_defaultValue = BigIntegerStorage.ConvertToBigInteger(
_defaultValue
, FormatProvider);
647
Debug.Assert(
_defaultValue
!= null, "It should not have been set to null.");
648
if (
_defaultValue
== DBNull.Value && _implementsINullable)
657
_defaultValue = SqlConvert.ChangeTypeForDefaultValue(
_defaultValue
, _dataType, FormatProvider);
669
return
_defaultValue
;
674
if (
_defaultValue
== null || !DefaultValue.Equals(value))
1537
clone._defaultValue =
_defaultValue
;
1538
clone._defaultValueIsNull = ((
_defaultValue
== DBNull.Value) || (clone.ImplementsINullable && DataStorage.IsObjectSqlNull(
_defaultValue
))) ? true : false;
1607
this[record] =
_defaultValue
;