19 using System.Collections.Generic;
24 namespace Deveel.Data.Sql.Objects {
32 int IComparable.CompareTo(
object obj) {
33 throw new NotSupportedException();
36 int IComparable<ISqlObject>.CompareTo(
ISqlObject other) {
37 throw new NotSupportedException();
41 get {
return table == null; }
46 throw new NullReferenceException(
"The object is null.");
60 return table.FullName;
70 return table.GetEnumerator();
73 IEnumerator IEnumerable.GetEnumerator() {
74 return GetEnumerator();
84 return table.DatabaseContext;
88 TableInfo ITable.TableInfo {
91 return table.TableInfo;
98 return table.RowCount;
104 return table.GetValue(rowNumber, columnOffset);
109 return table.GetIndex(columnOffset);
IEnumerator< Row > GetEnumerator()
The context of a single database within a system.
Represents a database object, such as a table, a trigger, a type or a column.
ObjectName FullName
Gets the fully qualified name of the object used to resolve it uniquely within the database...
Describes the name of an object within a database.
DataObject GetValue(long rowNumber, int columnOffset)
Defines the contract for a valid SQL Object
static SqlTabular From(ITable table)
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
DbObjectType ObjectType
Gets the type of database object that the implementation is for
bool IsComparableTo(ISqlObject other)
Checks if the current object is comparable with the given one.
DbObjectType
The kind of objects that can be handled by a database system and its managers