Skip to main content

Class OneStreamSqlConnectionContext

A concrete implementation of the Workspace.XBR.Xperiflow.Etl.IConnectionContext interface that is used to connect to a OneStream SQL database.

Namespace: Workspace.XBR.Xperiflow.Etl

Assembly: Xperiflow.dll

Declaration
public class OneStreamSqlConnectionContext : IConnectionContext

Implements: Workspace.XBR.Xperiflow.Etl.IConnectionContext

Properties​

ConnectionKey​

The connection key used to connect to the OneStream SQL database.

Declaration
[JsonPropertyName("connectionKey")]
public string ConnectionKey { get; set; }

Methods​

ToJson()​

Serializes the Workspace.XBR.Xperiflow.Etl.OneStreamSqlConnectionContext object to a JSON string.

Declaration
public string ToJson()
Returns​

System.String

A serialized representation of the OneStreamSqlConnectionContext

FromJson(string)​

Deserializes a JSON string to a Workspace.XBR.Xperiflow.Etl.OneStreamSqlConnectionContext object.

Declaration
public static OneStreamSqlConnectionContext FromJson(string data)
Returns​

Workspace.XBR.Xperiflow.Etl.OneStreamSqlConnectionContext

A Workspace.XBR.Xperiflow.Etl.OneStreamSqlConnectionContext

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