Skip to main content

Class SqlDataFormat

A concrete implementation of the [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) interface that represents a SQL data format.

Namespace: Workspace.XBR.Xperiflow.Etl

Assembly: Xperiflow.dll

Declaration
public class SqlDataFormat : IDataFormat

Remarks

Note that this is not technically a format, but a data format that is stored in a SQL database.

Implements: Workspace.XBR.Xperiflow.Etl.IDataFormat

Properties

Format

The data format.

Declaration
[JsonIgnore]
public string Format { get; }

Methods

ToJson()

Serializes the [Workspace.XBR.Xperiflow.Etl.SqlDataFormat](../Xperiflow.Etl/SqlDataFormat.md) object to a JSON string.

Declaration
public string ToJson()
Returns

System.String

A serialized representation of the SqlDataFormat

FromJson(string)

Deserializes the JSON string to a [Workspace.XBR.Xperiflow.Etl.SqlDataFormat](../Xperiflow.Etl/SqlDataFormat.md) object.

Declaration
public static SqlDataFormat FromJson(string data)
Returns

Workspace.XBR.Xperiflow.Etl.SqlDataFormat

A [Workspace.XBR.Xperiflow.Etl.SqlDataFormat](../Xperiflow.Etl/SqlDataFormat.md)

Parameters
TypeNameDescription
System.StringdataThe JSON string representation of the SqlDataFormat
Exceptions

System.Text.Json.JsonException

Implements

Inherited Members

  • 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)
  • System.Object.ToString

Was this page helpful?