Show / Hide Table of Contents

Class DataSet<T>

Represents an in-memory collection of data.

Inheritance
System.Object
DataSource
DataSet
DataSet<T>
Implements
System.Collections.Generic.IList<DataRow>
System.Collections.Generic.ICollection<DataRow>
System.Collections.Generic.IReadOnlyList<DataRow>
System.Collections.Generic.IReadOnlyCollection<DataRow>
System.Collections.Generic.IEnumerable<DataRow>
System.Collections.IEnumerable
Inherited Members
DataSet.Kind
DataSet.AddRow(Action<DataRow>)
DataSet.InsertRow(Int32, Action<DataRow>)
DataSet.ParentDataRow
DataSet.Count
DataSet.IsReadOnly
DataSet.Item[Int32]
DataSet.IndexOf(DataRow)
DataSet.Contains(DataRow)
DataSet.Insert(Int32, DataRow)
DataSet.Insert(Int32, DataRow, Action<DataRow>)
DataSet.Remove(DataRow)
DataSet.RemoveAt(Int32)
DataSet.Add(DataRow)
DataSet.Add(DataRow, Action<DataRow>)
DataSet.Clear()
DataSet.CopyTo(DataRow[], Int32)
DataSet.GetEnumerator()
DataSet.IEnumerable.GetEnumerator()
DataSet.ToString()
DataSet.ToJsonString(Boolean, IJsonCustomizer)
DataSet.ToJsonString(IEnumerable<DataRow>, Boolean, IJsonCustomizer)
DataSet.Validate(Boolean, Int32)
DataSet.EditingRow
DataSet.AddingRow
DataSet.ValidateAddingRow()
DataSet.BeginAdd()
DataSet.EndAdd()
DataSet.EndAdd(Int32)
DataSet.CancelAdd()
DataSet.Container
DataSet.Deserialize(String, IJsonCustomizer)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public abstract class DataSet<T> : DataSet, IList<DataRow>, ICollection<DataRow>, IReadOnlyList<DataRow>, IReadOnlyCollection<DataRow>, IEnumerable<DataRow>, IEnumerable, IJsonView where T : class, IEntity, new()
Type Parameters
Name Description
T

The type of the model.

Properties

Name Description
_

Gets the entity associated with this DataSet.

Entity

Gets the entity of this DataSet.

Model

Methods

Name Description
AddRow(Action<T, DataRow>)

Adds DataRow into this DataSet.

Clone()

Clones this DataSet.

Create(Action<T>)

Create a new DataSet.

EnsureInitialized()

Ensures this DataSet is initialized.

FillChildAsync<TChild>(Int32, Func<T, TChild>, DbSet<TChild>, Action<TChild>)

Fills child DataSet from source DbSet.

FillChildAsync<TChild>(Int32, Func<T, TChild>, DbSet<TChild>, Action<TChild>, CancellationToken)

Fills child DataSet from source DbSet.

FillChildAsync<TChild>(Int32, Func<T, TChild>, DbSet<TChild>, CancellationToken)

Fills child DataSet from source DbSet.

Filter(JsonFilter)

Filters this DataSet for JSON serialization.

Filter(JsonFilter[])

Filters this DataSet for JSON serialization.

GetChild<TChild>(Func<T, TChild>, DataRow)

Gets the child DataSet.

GetChild<TChild>(Func<T, TChild>, Int32)

Gets the child DataSet.

Insert(Int32, Action<T, DataRow>)

Inserts DataRow at specified index.

ParseJson(Action<T>, String, IJsonCustomizer)

Deserializes from JSON string.

ParseJson(String)

Deserializes from JSON string.

Extension Methods

DataSourceExtensions.UpdateOriginalDataSource(DataSource, DataSource, Boolean)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest