Show / Hide Table of Contents

Method Write

| Improve this Doc View Source

Write(JsonWriter, DataSet)

Writes JSON for specified DataSet.

Declaration
public static JsonWriter Write(this JsonWriter jsonWriter, DataSet dataSet)
Parameters
Type Name Description
JsonWriter jsonWriter

The JsonWriter.

DataSet dataSet

The DataSet.

Returns
Type Description
JsonWriter

This JsonWriter for fluent coding.

| Improve this Doc View Source

Write(JsonWriter, DataSet, IEnumerable<DataRow>)

Writes JSON for selected DataRow objects for specified DataSet.

Declaration
public static JsonWriter Write(this JsonWriter jsonWriter, DataSet dataSet, IEnumerable<DataRow> dataRows)
Parameters
Type Name Description
JsonWriter jsonWriter

The JsonWriter.

DataSet dataSet

The DataSet.

System.Collections.Generic.IEnumerable<DataRow> dataRows

The selected DataRow objects.

Returns
Type Description
JsonWriter

This JsonWriter for fluent coding.

| Improve this Doc View Source

Write(JsonWriter, JsonView, IEnumerable<DataRow>)

Writes JSON for selected DataRow objects for specified JsonView.

Declaration
public static JsonWriter Write(this JsonWriter jsonWriter, JsonView jsonView, IEnumerable<DataRow> dataRows)
Parameters
Type Name Description
JsonWriter jsonWriter

The JsonWriter.

JsonView jsonView

The JsonView.

System.Collections.Generic.IEnumerable<DataRow> dataRows

The selected DataRow objects.

Returns
Type Description
JsonWriter

This JsonWriter for fluent coding.

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