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
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.
[JsonIgnore]
public string Format { get; }
Methods
ToJson()
Serializes the [Workspace.XBR.Xperiflow.Etl.SqlDataFormat](../Xperiflow.Etl/SqlDataFormat.md)
object to a JSON string.
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.
public static SqlDataFormat FromJson(string data)
Returns
Workspace.XBR.Xperiflow.Etl.SqlDataFormat
A [Workspace.XBR.Xperiflow.Etl.SqlDataFormat](../Xperiflow.Etl/SqlDataFormat.md)
Parameters
Type | Name | Description |
---|---|---|
System.String | data | The 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