public void PutRecord(ICdlRecord record) { object[] values = new object[record.FieldCount]; record.GetValues(values); ICdlRecord copy = new ArrayDataRecord(Format, values); m_queue.Put(new Element { Record = copy }); }
public int GetValues(object[] values) { int cnt = Math.Min(values.Length, m_fields.Length); if (m_original != null) { m_original.GetValues(values); } for (int i = 0; i < cnt; i++) { if (m_fields[i].Changed) { values[i] = m_fields[i].Value; } } return(cnt); }
public ArrayDataRecord(ICdlRecord record) { _values = new object[record.FieldCount]; _structure = record.Structure; record.GetValues(_values); }
public int GetValues(object[] values) { return(RefObject.GetValues(values)); }
public static object[] GetValues(this ICdlRecord record) { object[] values = new object[record.FieldCount]; record.GetValues(values); return(values); }