GetKeyValues() private method

private GetKeyValues ( int record ) : object[]
record int
return object[]
Exemplo n.º 1
0
 internal object[] GetKeyValues(DataKey key, DataRowVersion version)
 {
     int record = GetRecordFromVersion(version);
     return key.GetKeyValues(record);
 }
Exemplo n.º 2
0
        internal DataRow FindMergeTarget(DataRow row, DataKey key, Index ndx) {
            DataRow targetRow = null;

            // Primary key match
            if (key.HasValue) {
                Debug.Assert(ndx != null);
                int   findRecord = (row.oldRecord == -1) ? row.newRecord : row.oldRecord;
                object[] values = key.GetKeyValues(findRecord);
                targetRow = FindByIndex(ndx, values);
            }
            return targetRow;
        }
Exemplo n.º 3
0
 internal object[] GetKeyValues(DataKey key)
 {
     int record = GetDefaultRecord();
     return key.GetKeyValues(record);
 }
 internal object[] GetKeyValues(DataKey key)
 {
     int defaultRecord = this.GetDefaultRecord();
     return key.GetKeyValues(defaultRecord);
 }
 internal DataRow FindMergeTarget(DataRow row, DataKey key, Index ndx)
 {
     DataRow row2 = null;
     if (key.HasValue)
     {
         int record = (row.oldRecord == -1) ? row.newRecord : row.oldRecord;
         object[] keyValues = key.GetKeyValues(record);
         row2 = this.FindByIndex(ndx, keyValues);
     }
     return row2;
 }
Exemplo n.º 6
0
        internal object[] GetKeyValues(DataKey key, DataRowVersion version)
        {
            int recordFromVersion = this.GetRecordFromVersion(version);

            return(key.GetKeyValues(recordFromVersion));
        }
Exemplo n.º 7
0
        internal object[] GetKeyValues(DataKey key)
        {
            int defaultRecord = this.GetDefaultRecord();

            return(key.GetKeyValues(defaultRecord));
        }