Class JsonDataSourceConnectionStringBuilder
Represents the JsonDataConnection connection string builder.
Inheritance
System.Object
JsonDataSourceConnectionStringBuilder
Namespace: FastReport.Data.JsonConnection
Assembly: FastReport.Base.dll
Syntax
public class JsonDataSourceConnectionStringBuilder : DbConnectionStringBuilder
Remarks
Use this class to parse connection string returned by the JsonDataConnection class.
Constructors
JsonDataSourceConnectionStringBuilder()
Initializes a new instance of the JsonDataSourceConnectionStringBuilder class with default settings.
Declaration
public JsonDataSourceConnectionStringBuilder()
JsonDataSourceConnectionStringBuilder(String)
Initializes a new instance of the JsonDataSourceConnectionStringBuilder class with specified connection string.
Declaration
public JsonDataSourceConnectionStringBuilder(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
Properties
Encoding
Gets or sets json url encoding
Declaration
public string Encoding { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Headers
Set or get headers of the connection string.
Declaration
public Dictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |
Remarks
Returns copy of dictionary. If you need to update values, set the dictionary again!
Json
Gets or sets json data
Declaration
public string Json { get; set; }
Property Value
Type | Description |
---|---|
System.String |
JsonSchema
Gets or sets json schema
Declaration
public string JsonSchema { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SimpleStructure
Gets or sets simple structure value
Declaration
public bool SimpleStructure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |