Class DataRow
Represents a row of in-memory data.
Inheritance
Inherited Members
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public class DataRow
Constructors
| Name | Description |
|---|---|
| DataRow() | Initializes a new instance of DataRow object. |
Properties
| Name | Description |
|---|---|
| BaseDataSet | Gets the base DataSet which contains all DataRow objects. |
| ChildDataSets | Gets the child DataSets owned by this DataRow. |
| DataSet | Gets the DataSet which contains child DataSet of ParentDataRow. |
| Index | Gets the index of DataSet. |
| IsAdding | Gets a value indicates whether this DataRow is in adding mode. |
| IsEditing | Gets a value indicates whether this DataRow is in editing mode. |
| IsPrimaryKeySealed | Gets or sets a value to specify whether primary key should be sealed. |
| IsValueChangedNotificationSuspended | Gets a value indicating whether value changed notification is suspended. |
| Item[Model] | Gets the child DataSet for specified child model. |
| Item[Int32] | Gets the child DataSet for specified child model ordinal. |
| Model | |
| Ordinal | Gets the ordinal of BaseDataSet. |
| ParentDataRow | Gets the parent DataRow. |
Methods
| Name | Description |
|---|---|
| BeginEdit() | Enters into edit mode. |
| CancelEdit() | Cancels the edit mode. |
| CopyValuesFrom(DataRow, Boolean) | Copies data values from specified DataRow. |
| CopyValuesFrom(DataRow, IReadOnlyList<ColumnMapping>) | Copies data values from other DataRow, for specified column mappings. |
| EndEdit() | Ends the edit mode and saves the changes. |
| Move(Int32) | Moves this DataRow within current DataSet. |
| OrderBy(Column, SortDirection) | Constructs column comparer to sort DataRow. |
| OrderBy<T>(Column<T>, SortDirection, IComparer<T>) | Constructs column comparer to sort DataRow. |
| ResumeValueChangedNotification() | Resumes value changed notification. |
| SuspendValueChangedNotification() | Suspends value changed notification. |
| ToJsonString(Boolean, IJsonCustomizer) | Serialize this DataRow into JSON string. |
| ToString() | |
| Validate() | Validates data values of this DataRow. |
| Where<T>(Func<T, DataRow, Boolean>, Boolean) | Constructs a DataRow predicate. |