You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Expressions/Expressions/TableExpression.cs

23 lines
499 B

using Connected.Expressions.Translation;
namespace Connected.Expressions;
public sealed class TableExpression : AliasedExpression
{
public TableExpression(Alias alias, Type entity, string schema, string name)
: base(DatabaseExpressionType.Table, typeof(void), alias)
{
Entity = entity;
Name = name;
Schema = schema;
}
public Type Entity { get; }
public string Name { get; }
public string Schema { get; }
public override string ToString()
{
return $"T({Schema}.{Name})";
}
}