Struct SqlTableIdentifier
Represents a SQL Server table identifier with separate schema and table parts.
Namespace: Workspace.XBR.Xperiflow.Etl.Tabular
Assembly: Xperiflow.dll
Declaration
public readonly struct SqlTableIdentifier
Properties
Schema
Declaration
public string Schema { get; }
Table
Declaration
public string Table { get; }
QualifiedName
Declaration
public string QualifiedName { get; }
Fields
DefaultSchema
Declaration
public const string DefaultSchema = "dbo"
Methods
From(string, string?)
Builds a table identifier from distinct schema and table inputs.
Declaration
public static SqlTableIdentifier From(string tableName, string? schemaName = null)
Returns
Workspace.XBR.Xperiflow.Etl.Tabular.SqlTableIdentifier
Parameters
| Type | Name | Description |
|---|---|---|
System.String | tableName | The table name only. Periods are literal table-name characters. |
System.String | schemaName | Optional SQL schema name. Defaults to Workspace.XBR.Xperiflow.Etl.Tabular.SqlTableIdentifier.DefaultSchema when omitted. |
QuoteIdentifier(string)
Declaration
public static string QuoteIdentifier(string identifier)
Returns
System.String
Parameters
| Type | Name |
|---|---|
System.String | identifier |
Inherited Members
System.ValueType.Equals(System.Object)System.ValueType.GetHashCodeSystem.ValueType.ToStringSystem.Object.Equals(System.Object,System.Object)System.Object.GetTypeSystem.Object.ReferenceEquals(System.Object,System.Object)