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