24 references to Row
System.Data.Common (24)
System\Data\DataRowView.cs (18)
24
/// Checks for same reference instead of equivalent <see cref="DataView"/> or <see cref="
Row
"/>.
33
/// <returns>Hashcode of <see cref="
Row
"/></returns>
40
return
Row
.GetHashCode();
49
/// <remarks>Uses either <see cref="DataRowVersion.Default"/> or <see cref="DataRowVersion.Original"/> to access <see cref="
Row
"/></remarks>
55
get { return
Row
[ndx, RowVersionDefault]; }
80
return
Row
[column, RowVersionDefault];
104
string IDataErrorInfo.this[string colName] =>
Row
.GetColumnError(colName);
106
string IDataErrorInfo.Error =>
Row
.RowError;
116
private DataRowVersion RowVersionDefault =>
Row
.GetDefaultRowVersion(_dataView.RowStateFilter);
118
internal int GetRecord() =>
Row
.GetRecordFromVersion(RowVersionDefault);
120
internal bool HasRecord() =>
Row
.HasVersion(RowVersionDefault);
122
internal object GetColumnValue(DataColumn column) =>
Row
[column, RowVersionDefault];
129
Row
.BeginEdit();
135
Row
[column] = value;
189
DataRow tmpRow =
Row
;
209
Row
.EndEdit();
217
Row
.HasVersion(DataRowVersion.Proposed) || // It was edited or
220
public void Delete() => _dataView.Delete(
Row
);
System\Data\DataView.cs (5)
864
if (ReferenceEquals(_addNewRow, rowview.
Row
))
868
if ((null != _index) && (DataRowState.Detached != rowview.
Row
.RowState))
871
if (_rowViewCache.TryGetValue(rowview.
Row
, out cached) && cached == (object)rowview)
885
return _index!.GetIndex(rowview.
Row
.GetRecordFromVersion(rowview.
Row
.GetDefaultRowVersion(RowStateFilter) & ~DataRowVersion.Proposed));
System\Data\RelatedView.cs (1)
83
addNewRowView.
Row
.SetKeyValues(_childKey, GetParentValues()!);