You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2021. It is now read-only.
This method should checks fieldNames also. It could be something like this:
public int GetOrdinal(string name)
{
if (_fieldNames != null)
{
for (int i = 0; i < _fieldNames.Length; ++i)
{
if (_fieldNames[i] == name)
return i;
}
}
else
{
for (int i = 0; i < _properties.Length; ++i)
{
if (_properties[i].Name == name)
return i;
}
}
throw new IndexOutOfRangeException();
}
This method should checks fieldNames also. It could be something like this: