9 writes to defaultValue
System.Data (9)
fx\src\data\System\Data\DataColumn.cs (9)
557
this.
defaultValue
= BigIntegerStorage.ConvertFromBigInteger((System.Numerics.BigInteger)this.defaultValue, value, this.FormatProvider);
560
this.
defaultValue
= BigIntegerStorage.ConvertToBigInteger(this.defaultValue, this.FormatProvider);
563
defaultValue
= DefaultValue.ToString();
566
defaultValue
= SqlConvert.ConvertToSqlString(DefaultValue);
672
defaultValue
= _storage.NullValue;
674
defaultValue
= SqlConvert.ChangeTypeForDefaultValue(defaultValue, this.dataType, FormatProvider);
678
defaultValue
= propInfo.GetValue(null, null);
701
defaultValue
= newDefaultValue;
1494
clone.
defaultValue
= defaultValue;
12 references to defaultValue
System.Data (12)
fx\src\data\System\Data\DataColumn.cs (12)
556
if (this.
defaultValue
is System.Numerics.BigInteger) {
557
this.defaultValue = BigIntegerStorage.ConvertFromBigInteger((System.Numerics.BigInteger)this.
defaultValue
, value, this.FormatProvider);
560
this.defaultValue = BigIntegerStorage.ConvertToBigInteger(this.
defaultValue
, this.FormatProvider);
669
Debug.Assert(
defaultValue
!= null, "It should not have been set to null.");
670
if (
defaultValue
== DBNull.Value && this.implementsINullable) { // for perf I dont access property
674
defaultValue = SqlConvert.ChangeTypeForDefaultValue(
defaultValue
, this.dataType, FormatProvider);
682
return
defaultValue
;
686
if (
defaultValue
== null || !DefaultValue.Equals(value)) {
1494
clone.defaultValue =
defaultValue
;
1495
clone.defaultValueIsNull = ((
defaultValue
== DBNull.Value) || (clone.ImplementsINullable && DataStorage.IsObjectSqlNull(
defaultValue
))) ? true : false;
1558
this[record] =
defaultValue
;