19 namespace Deveel.Data.Sql.Tables {
24 : this(parent, parent.
TableInfo.Alias(tableName)) {
30 this.tableInfo = tableInfo;
36 get {
return tableInfo; }
40 var tableName = columnName.
Parent;
41 if (tableName != null && tableName.Equals(TableName))
48 return new ObjectName(TableName, tableInfo[column].ColumnName);
Defines the contract to access the data contained into a table of a database.
ReferenceTable(ITable parent, TableInfo tableInfo)
Describes the name of an object within a database.
ReferenceTable(ITable parent, ObjectName tableName)
ObjectName TableName
Gets the fully qualified name of the table that is ensured to be unique within the system...
bool TypeEquals(IRootTable other)
override ObjectName GetResolvedColumnName(int column)
override int IndexOfColumn(ObjectName columnName)
int IndexOfColumn(string columnName)
Gets the offset of the column with the given name.
ObjectName Parent
Gets the parent reference of the current one, if any or null if none.
string Name
Gets the name of the object being referenced.
Defines the metadata properties of a table existing within a database.
readonly TableInfo tableInfo
Interface that is implemented by all root tables.