4 writes to _metadata
System.Data (4)
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (4)
294
_metadata
= new MetaData[0];
555
_metadata
= metainfo;
716
_metadata
= null;
2237
_metadata
= metainfo.ToArray();
51 references to _metadata
System.Data (51)
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (51)
179
get { return
_metadata
; }
269
Debug.Assert(null ==
_metadata
, "BuildMetaInfo: already built, by _metadata");
278
if (null !=
_metadata
&& 0 <
_metadata
.Length) {
287
if (null !=
_metadata
&& 0 <
_metadata
.Length) {
291
if (null ==
_metadata
) {
421
Debug.Assert(null ==
_metadata
, "non-null metadata");
864
return GetDataForReader(
_metadata
[bindingIndex + index].ordinal, rowbinding, valueOffset);
897
if (null !=
_metadata
) {
898
return
_metadata
[index].type.dataSourceType;
923
if (null !=
_metadata
) {
924
return
_metadata
[index].type.dataType;
955
if (null !=
_metadata
) {
956
Debug.Assert(null !=
_metadata
[index].columnName, "MDAC 66681");
957
return
_metadata
[index].columnName;
964
if (null ==
_metadata
) {
990
MetaData info =
_metadata
[ordinal];
1010
_metadata
[_nextValueForRetrieval].columnBinding.ResetValue();
1043
for (int i = 0; (i <
_metadata
.Length) && (i < count); ++i) {
1044
ColumnBinding binding = GetValueBinding(
_metadata
[i]);
1284
return (0 <
_metadata
.Length);
1291
Debug.Assert(0 <=
_metadata
.Length, "incorrect state for fieldCount");
1303
Debug.Assert(0 <=
_metadata
.Length, "incorrect state for fieldCount");
1337
Debug.Assert(null !=
_metadata
&& 0 <
_metadata
.Length, "no columns");
1375
MetaData[] metadata =
_metadata
;
1675
Debug.Assert(null !=
_metadata
, "GetRowValue: null MetaData");
1692
MetaData info =
_metadata
[columnBindings[i].Index];
1744
Debug.Assert(null !=
_metadata
, "no _metadata");
1746
if (
_metadata
.Length <= 0) {
1751
for (int i = 0; i <
_metadata
.Length; ++i) {
1752
if (
_metadata
[i].isKeyColumn && !
_metadata
[i].isHidden) { // MDAC 90411
1762
for (int i = 0; i <
_metadata
.Length; ++i) {
1763
MetaData info =
_metadata
[i];
1807
Hashtable baseColumnNames = new Hashtable(
_metadata
.Length * 2); // MDAC 67385
1809
for (int i =
_metadata
.Length-1; 0 <= i; --i) {
1810
string basecolumname =
_metadata
[i].baseColumnName;
1815
for (int i = 0; i <
_metadata
.Length; ++i) {
1816
string basecolumname =
_metadata
[i].baseColumnName;
1867
MetaData info =
_metadata
[metaindex];
1885
for (int i = 0; i <
_metadata
.Length; ++i) {
1886
_metadata
[i].isKeyColumn = false;
1924
bool[] keys = new bool[
_metadata
.Length];
1925
bool[] uniq = new bool[
_metadata
.Length];
1984
for (int i = 0; i <
_metadata
.Length; ++i) {
1985
_metadata
[i].isKeyColumn = false;
1996
for (int i = 0; i <
_metadata
.Length; ++i) {
1997
_metadata
[i].isKeyColumn = uniq[i];
2006
return ((-1 != index) ?
_metadata
[index] : null);