Show / Hide Table of Contents

Method AddRows

| Improve this Doc View Source

AddRows<T>(DataSet<T>, Int32)

Adds specified number of DataRow into DataSet.

Declaration
public static DataSet<T> AddRows<T>(this DataSet<T> dataSet, int count)

    where T : class, IEntity, new()
Parameters
Type Name Description
DataSet<T> dataSet

The dataset to add rows.

System.Int32 count

Number of rows to add.

Returns
Type Description
DataSet<T>

The same dataset for fluent coding.

Type Parameters
Name Description
T

Type of the dataset model reference.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest