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