1 write to _buffer
System.Data (1)
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (1)
24
_buffer
= new SqlRecordBuffer[metaData.Length];
40 references to _buffer
System.Data (40)
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (40)
26
for (int i = 0; i <
_buffer
.Length; ++i) {
27
_buffer
[i] = new SqlRecordBuffer(metaData[i]);
35
return
_buffer
[ordinal].IsNull;
41
return
_buffer
[ordinal].VariantType;
46
return
_buffer
[ordinal].Boolean;
51
return
_buffer
[ordinal].Byte;
57
return
_buffer
[ordinal].BytesLength;
60
return
_buffer
[ordinal].GetBytes(fieldOffset, buffer, bufferOffset, length);
65
return
_buffer
[ordinal].CharsLength;
68
return
_buffer
[ordinal].GetChars(fieldOffset, buffer, bufferOffset, length);
71
return
_buffer
[ordinal].String;
76
return
_buffer
[ordinal].Int16;
81
return
_buffer
[ordinal].Int32;
86
return
_buffer
[ordinal].Int64;
91
return
_buffer
[ordinal].Single;
96
return
_buffer
[ordinal].Double;
101
return
_buffer
[ordinal].SqlDecimal;
106
return
_buffer
[ordinal].DateTime;
111
return
_buffer
[ordinal].Guid;
116
return
_buffer
[ordinal].TimeSpan;
121
return
_buffer
[ordinal].DateTimeOffset;
129
_buffer
[ordinal].SetNull();
134
_buffer
[ordinal].Boolean = value;
139
_buffer
[ordinal].Byte = value;
147
return
_buffer
[ordinal].SetBytes(fieldOffset, buffer, bufferOffset, length);
150
_buffer
[ordinal].BytesLength = length;
158
return
_buffer
[ordinal].SetChars(fieldOffset, buffer, bufferOffset, length);
161
_buffer
[ordinal].CharsLength = length;
168
_buffer
[ordinal].String = value.Substring(offset, length); // Perf test shows that Substring method has already optimized the case where length = value.Length
173
_buffer
[ordinal].Int16 = value;
178
_buffer
[ordinal].Int32 = value;
183
_buffer
[ordinal].Int64 = value;
188
_buffer
[ordinal].Single = value;
193
_buffer
[ordinal].Double = value;
198
_buffer
[ordinal].SqlDecimal = value;
203
_buffer
[ordinal].DateTime = value;
208
_buffer
[ordinal].Guid = value;
213
_buffer
[ordinal].TimeSpan = value;
218
_buffer
[ordinal].DateTimeOffset = value;
223
_buffer
[ordinal].VariantType = metaData;