30 lines
771 B
C#
30 lines
771 B
C#
namespace Strata.SqlTools.SqlBreakdown.Classes;
|
|
|
|
/// <summary>
|
|
/// Represents a SQL table with its expression and alias.
|
|
/// </summary>
|
|
public class SqlTable
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="SqlTable"/> class.
|
|
/// </summary>
|
|
/// <param name="tableExpression">The table expression.</param>
|
|
/// <param name="tableAlias">The table alias.</param>
|
|
public SqlTable(string tableExpression, string tableAlias)
|
|
{
|
|
TableExpression = tableExpression;
|
|
TableAlias = tableAlias;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the table expression.
|
|
/// </summary>
|
|
public string TableExpression { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the table alias.
|
|
/// </summary>
|
|
public string TableAlias { get; }
|
|
}
|
|
|