15 references to HasVersion
System.Data.Common (15)
System\Data\DataColumn.cs (2)
1380
if (dr.
HasVersion
(DataRowVersion.Current))
1686
if (dr.
HasVersion
(DataRowVersion.Current))
System\Data\DataRelation.cs (1)
248
if (!childRow.
HasVersion
((version == DataRowVersion.Original) ? DataRowVersion.Original : DataRowVersion.Current))
System\Data\DataRow.cs (4)
1082
if (!
HasVersion
(version1) || !
HasVersion
(version2))
1107
if (!
HasVersion
(DataRowVersion.Original) || !
HasVersion
(DataRowVersion.Current))
System\Data\DataRowView.cs (2)
120
internal bool HasRecord() => Row.
HasVersion
(RowVersionDefault);
217
Row.
HasVersion
(DataRowVersion.Proposed) || // It was edited or
System\Data\DataTable.cs (3)
3880
if (row.
HasVersion
(version) && ((states & _indexes[indexCount].RecordStates) != DataViewRowState.None))
3914
if (row.
HasVersion
(version))
3951
if (dr.
HasVersion
(version))
System\Data\DataTableExtensions.cs (1)
151
if (!current.
HasVersion
(DataRowVersion.Proposed))
System\Data\Filter\LookupNode.cs (1)
102
return parent[_column, parent.
HasVersion
(version) ? version : DataRowVersion.Current];
System\Data\ForeignKeyConstraint.cs (1)
575
if (childRow.
HasVersion
(version))