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