DataRowState Enum
The DataRowState enumeration describes the lifecycle state of an
IDataRow instance in the POCO DataSet model. It indicates how a row
relates to its parent table and whether its values have changed since the last
acceptance of changes.
Namespace: PocoDataSet.IData
Assembly: PocoDataSet.IData.dll
public enum DataRowState
{
Added,
Deleted,
Detached,
Modified,
Unchanged
}
Added – The row has been added to an IDataTable and has not yet been
accepted or persisted.
Deleted – The row is marked as deleted but is still part of its table until
changes are accepted.
Detached – The row is not currently associated with any IDataTable.
Modified – The row exists in a table and one or more field values differ from
their original values.
Unchanged – The row exists in a table and has no modifications relative to its
original state.
AcceptChanges, RejectChanges, and delete/remove operations.
Deleted remains accessible until changes are accepted at the
table or dataset level.
Detached rows typically represent newly created rows that have not yet been
added to a table, or rows that were removed from a table.
Table of Content POCO DataSet POCO DataSet Types
Business Process Programming in .Net
© 2004–2026 Laskarzhevsky Software Inc.
Unless otherwise noted, the content of this website is licensed under the
Creative Commons Attribution 4.0 International License (CC BY 4.0).
Code examples are provided under the MIT License.
You are free to share and adapt the material provided that appropriate
credit is given and any modifications are clearly indicated.
The information provided on this website is for educational purposes only.
The author and publisher make no warranties regarding the completeness
or suitability of the information and are not responsible for any damages
resulting from its use.