Method Write
| Improve this Doc View SourceWrite(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. |
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. |
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. |