Skip to main content

Class SqlQueryDataContainerContext

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

Namespace: Workspace.XBR.Xperiflow.Etl

Assembly: Xperiflow.dll

Declaration
public class SqlQueryDataContainerContext : IDataContainerContext

Implements: Workspace.XBR.Xperiflow.Etl.IDataContainerContext

Properties

SqlQuery

The SQL query.

Declaration
[JsonPropertyName("sqlQuery")]
public string SqlQuery { get; set; }

Methods

ToJson()

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

Declaration
public string ToJson()
Returns

System.String

A serialized representation of the SqlQueryDataContainerContext

FromJson(string)

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

Declaration
public static SqlQueryDataContainerContext FromJson(string data)
Returns

Workspace.XBR.Xperiflow.Etl.SqlQueryDataContainerContext

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

Parameters
TypeNameDescription
System.StringdataThe JSON string representation of the SqlQueryDataContainerContext
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?