3 writes to dataCache
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (3)
211this.dataCache = new DbCache(this, cColsAffected); 317this.dataCache = null; 1745this.dataCache = null;
71 references to dataCache
System.Data (71)
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (71)
157if (null == this.dataCache) { 164return ((null != this.dataCache) ? this.dataCache._count : 0); 344if (null != this.dataCache) { 345DbSchemaInfo info = this.dataCache.GetSchema(i); 359if (null != this.dataCache) { 360DbSchemaInfo info = this.dataCache.GetSchema(i); 370if (null != this.dataCache) { 371DbSchemaInfo info = this.dataCache.GetSchema(i); 385if (null == this.dataCache) { 395if (null == this.dataCache) { 470if(this.dataCache.AccessIndex(i) == null) { 480return this.dataCache[i]; 494if(dataCache.AccessIndex(i) == null) { 495dataCache[i] = GetValue(i, GetSqlType(i)); 497return dataCache[i]; 517DbSchemaInfo info = this.dataCache.GetSchema(i); 562object cachedObj = this.dataCache[i]; 593if(this.dataCache.AccessIndex(i) == null) { 595this.dataCache[i] = Buffer.ReadByte(0); 598return this.dataCache[i]; 608if(this.dataCache.AccessIndex(i) == null) { 610this.dataCache[i] = Buffer.ReadChar(0); 613return this.dataCache[i]; 623if(this.dataCache.AccessIndex(i) == null) { 625this.dataCache[i] = Buffer.ReadInt16(0); 628return this.dataCache[i]; 638if(this.dataCache.AccessIndex(i) == null) { 640this.dataCache[i] = Buffer.ReadInt32(0); 643return this.dataCache[i]; 660if(this.dataCache.AccessIndex(i) == null) { 663this.dataCache[i] = Int64.Parse(value, CultureInfo.InvariantCulture); 666return this.dataCache[i]; 676if(this.dataCache.AccessIndex(i) == null) { 678this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.BIT, -1); 681return this.dataCache[i]; 691if(this.dataCache.AccessIndex(i) == null) { 693this.dataCache[i] = Buffer.ReadSingle(0); 696return this.dataCache[i]; 707if(this.dataCache.AccessIndex(i) == null) { 709this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_DATE, -1); 712return this.dataCache[i]; 723if(this.dataCache.AccessIndex(i) == null) { 725this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_TIMESTAMP, -1); 728return this.dataCache[i]; 746if(this.dataCache.AccessIndex(i) == null) { 751this.dataCache[i] = Decimal.Parse(s, System.Globalization.CultureInfo.InvariantCulture); 754this.dataCache[i] = s; 759return this.dataCache[i]; 769if(this.dataCache.AccessIndex(i) == null) { 771this.dataCache[i] = Buffer.ReadDouble(0); 774return this.dataCache[i]; 785if(this.dataCache.AccessIndex(i) == null) { 787this.dataCache[i] = Buffer.ReadGuid(0); 790return this.dataCache[i]; 801if(this.dataCache.AccessIndex(i) == null) { 831this.dataCache[i] = strdata; 883this.dataCache[i] = builder.ToString(); 886return this.dataCache[i]; 897if(this.dataCache.AccessIndex(i) == null) { 899this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_TIME, -1); 902return this.dataCache[i]; 961cachedObj = (string)this.dataCache[i]; 963cachedObj = (byte[])this.dataCache[i]; 1279if(this.dataCache.AccessIndex(i) == null) { 1328this.dataCache[i] = rgBytes; 1331return this.dataCache[i]; 1515Debug.Assert(this.dataCache == null || !Convert.IsDBNull(this.dataCache[i]), "Cannot call GetData without checking for cache first!"); 1572this.dataCache[i] = DBNull.Value; 1638this.dataCache.FlushValues();