Class DataSet
Represents an in-memory collection of data.
Implements
Inherited Members
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public abstract class DataSet : DataSource, IList<DataRow>, ICollection<DataRow>, IReadOnlyList<DataRow>, IReadOnlyCollection<DataRow>, IEnumerable<DataRow>, IEnumerable, IJsonView
Properties
Name | Description |
---|---|
AddingRow | Gets the DataRow that is currently in adding mode. |
Container | Gets the DataSetContainer of this DataSet. |
Count | Gets the count of data rows. |
EditingRow | Gets the DataRow that is currently in editing mode. |
IsReadOnly | Gets a value indicating whether this DataSet is readonly. |
Item[Int32] | Gets or sets the DataRow at specified index. |
Kind | |
ParentDataRow | Gets the parent DataRow. |
Methods
Name | Description |
---|---|
Add(DataRow) | Adds DataRow into this DataSet. |
Add(DataRow, Action<DataRow>) | Adds DataRow into this DataSet. |
AddRow(Action<DataRow>) | Adds a DataRow into this DataSet. |
BeginAdd() | Enters the adding mode. |
CancelAdd() | Cancels the Adding mode. |
Clear() | Removes all DataRows from this DataSet. |
Clone() | Clones this DataSet. |
Contains(DataRow) | Determines whether this DataSet contains specified DataRow. |
CopyTo(DataRow[], Int32) | Copies all DataRow objects in this DataSet to an array. |
Deserialize(String, IJsonCustomizer) | Deserializes JSON string into this DataSet. |
EndAdd() | Commits the adding DataRow into this DataSet. |
EndAdd(Int32) | Commits the adding DataRow into this DataSet at specified index. |
GetEnumerator() | Returs an enumerator for this DataSet. |
IndexOf(DataRow) | Gets the index of specified DataRow in this DataSet. |
Insert(Int32, DataRow) | Inserts DataRow at specified index. |
Insert(Int32, DataRow, Action<DataRow>) | Inserts DataRow at specified index. |
InsertRow(Int32, Action<DataRow>) | Inserts a DataRow into this DataSet at specified index. |
Remove(DataRow) | Removes specified DataRow from this DataSet. |
RemoveAt(Int32) | Removes DataRow at specified index. |
ToJsonString(Boolean, IJsonCustomizer) | Serializes this DataSet into JSON string. |
ToJsonString(IEnumerable<DataRow>, Boolean, IJsonCustomizer) | Serializes specified DataRow objects in this DataSet into JSON string. |
ToString() | |
Validate(Boolean, Int32) | Validates all DataRow objects in this DataSet. |
ValidateAddingRow() | Validates the DataRow that is currently in adding mode. |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable.GetEnumerator() | Returs an enumerator for this DataSet. |