System.Data.DataKey.GetKeyValues C# (CSharp) Method

GetKeyValues() private method

private GetKeyValues ( int record ) : object[]
record int
return object[]
        internal object[] GetKeyValues(int record)
        {
            object[] values = new object[_columns.Length];
            for (int i = 0; i < _columns.Length; i++)
            {
                values[i] = _columns[i][record];
            }
            return values;
        }

Usage Example

Esempio n. 1
0
 internal object[] GetKeyValues(DataKey key, DataRowVersion version)
 {
     int record = GetRecordFromVersion(version);
     return key.GetKeyValues(record);
 }
All Usage Examples Of System.Data.DataKey::GetKeyValues