public FieldNameLookup ( IDataRecord reader, int defaultLocaleID ) : System.Collections | ||
reader | IDataRecord | |
defaultLocaleID | int | |
return | System.Collections |
public FieldNameLookup(IDataRecord reader, int defaultLocaleID)
{
int length = reader.FieldCount;
string[] fieldNames = new string[length];
for (int i = 0; i < length; ++i)
{
fieldNames[i] = reader.GetName(i);
Debug.Assert(null != fieldNames[i]);
}
_fieldNames = fieldNames;
_defaultLocaleID = defaultLocaleID;
}
FieldNameLookup::FieldNameLookup ( System |
|
FieldNameLookup::FieldNameLookup ( string fieldNames, int defaultLocaleID ) : System.Collections |