2 writes to _storage
System.Data (2)
fx\src\data\System\Data\DataColumn.cs (2)
1137
_storage
= null; // empty out storage for reuse.
1687
_storage
= DataStorage.CreateStorage(this, dataType, _storageType);
56 references to _storage
System.Data (56)
fx\src\data\System\Data\DataColumn.cs (56)
671
if (
_storage
!= null)
672
defaultValue =
_storage
.NullValue;
863
return (
_storage
!= null);
887
Debug.Assert(null !=
_storage
, "no storage");
888
return
_storage
.IsCloneable;
894
Debug.Assert(null !=
_storage
, "no storage");
895
return
_storage
.IsStringType;
901
Debug.Assert(null !=
_storage
, "no storage");
902
return
_storage
.IsValueType;
1151
Debug.Assert(null !=
_storage
, "null storage");
1152
return
_storage
.Get(record);
1157
Debug.Assert(null !=
_storage
, "no storage");
1159
_storage
.Set(record, value);
1168
if (!
_storage
.IsNull(record)) {
1169
this.AutoInc.SetCurrentAndIncrement(
_storage
.Get(record));
1183
Debug.Assert(null !=
_storage
, "no storage");
1184
_storage
.Set(record, DefaultValue);
1191
Debug.Assert(null !=
_storage
, "no storage");
1192
_storage
.Set(record, value);
1206
Debug.Assert(null !=
_storage
, "no storage");
1207
_storage
.Set(record,
_storage
.NullValue);
1394
if (
_storage
== null)
1398
if (sortIndex.IsKeyInIndex(
_storage
.NullValue)) {// here we do use strong typed NULL for Sql types
1422
Debug.Assert(null !=
_storage
, "no storage");
1423
if (
_storage
.IsNull(row.GetDefaultRecord())) {
1438
Debug.Assert(null !=
_storage
, "null storage");
1439
return
_storage
.Compare(record1, record2);
1448
Type rightType =
_storage
.Get(record1).GetType();
1451
return String.CompareOrdinal((string)
_storage
.Get(record1), (string)value) == 0 ? true : false;
1462
Debug.Assert(null !=
_storage
, "null storage");
1463
return
_storage
.CompareValueTo(record1, value);
1467
Debug.Assert(null !=
_storage
, "null storage");
1468
return
_storage
.ConvertValue(value);
1472
Debug.Assert(null !=
_storage
, "null storage");
1473
_storage
.Copy(srcRecordNo, dstRecordNo);
1536
if (
_storage
== null) {
1542
return
_storage
.Aggregate(records, kind);
1546
Debug.Assert(null !=
_storage
, "no storage");
1547
return
_storage
.GetStringLength(record);
1554
Debug.Assert(null !=
_storage
, "no storage");
1555
_storage
.Set(record, value);
1575
if (null !=
_storage
)
1576
return
_storage
.IsCustomDefinedType;
1593
Debug.Assert(null !=
_storage
, "no storage");
1594
return
_storage
.IsNull(record);
1686
if (
_storage
== null) {
1693
_storage
.SetCapacity(capacity);
1716
return
_storage
.ConvertXmlToObject(s);
1721
return
_storage
.ConvertXmlToObject(xmlReader, xmlAttrib);
1728
return
_storage
.ConvertObjectToXml(value);
1734
_storage
.ConvertObjectToXml(value, xmlWriter, xmlAttrib);
1739
return
_storage
.GetEmptyStorageInternal(recordCount);
1743
Debug.Assert(null !=
_storage
, "no storage");
1744
_storage
.CopyValueInternal(record, store, nullbits, storeIndex);
1749
_storage
.SetStorageInternal(store, nullbits);