24 namespace Deveel.Data.Protocol {
41 : this(name, columnInfo.
ColumnType, columnInfo.IsNotNull) {
64 public string Name {
get;
private set; }
71 public bool IsNumericType {
98 public bool IsNotNull {
get;
private set; }
106 public bool IsUnique {
get;
private set; }
116 public int UniqueGroup {
get; set; }
118 public bool IsAliased {
119 get {
return Name.StartsWith(
"@a"); }
123 get {
return Type.GetRuntimeType(); }
127 get {
return Type.GetObjectType(); }
133 return (Name.Equals(cd.Name) &&
136 IsNotNull == cd.IsNotNull &&
137 IsUnique == cd.IsUnique &&
138 UniqueGroup == cd.UniqueGroup);
142 return base.GetHashCode();
Defines the metadata properties of a column within a table of a database.
QueryResultColumn(string name, ColumnInfo columnInfo)
QueryResultColumn(string name, SqlType type, bool notNull)
The Constructors if the type does require a size.
A user-defined TYPE that holds complex objects in a database column.
override bool Equals(Object ob)
Defines the properties of a specific SQL Type and handles the values compatible.
override int GetHashCode()
void SetUnique()
Sets this column to unique.