ColumnDefinition Class
Definition of a table’s column.
Methods
Section titled “Methods”| Method | Description |
|---|---|
| CompareTo(other) | Compare this column definition to another column definition. |
Properties
Section titled “Properties”| Property | Description |
|---|---|
| Added | Gets whether this column was added via a transform. |
| Category | Gets the validation category for this column. |
| Description | Gets the description for this column. |
| IsLocalizable | Gets if the column is localizable. Can be because the type is localizable, or because the column was explicitly set to be so. |
| KeyColumn | Gets the foreign key column that this column refers to. |
| KeyTable | Gets the table that has the foreign key for this column |
| Length | Gets the length of the column. |
| MaxValue | Gets the maximum value for the column. |
| MinValue | Gets the minimum value for the column. |
| ModularizeType | Gets the type of modularization for this column. |
| Name | Gets the name of the column. |
| Nullable | Gets if the column is nullable. |
| Possibilities | Gets the set of possibilities for this column. |
| PrimaryKey | Gets if the column is a primary key. |
| Type | Gets the type of the column. |
| Unreal | Gets if column is Unreal. |
| UseCData | Gets if whitespace should be preserved in a CDATA node. |
WixToolset.Data.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
CompareTo(other) Method
Section titled “CompareTo(other) Method”Compare this column definition to another column definition.
Declaration
Section titled “Declaration”public int CompareTo( ColumnDefinition other)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| other | ColumnDefinition | The to compare with this one. |
Return value
Section titled “Return value”int 0 if the columns’ core propeties are the same; otherwise, non-0.
Remarks
Section titled “Remarks”Only Windows Installer traits are compared, allowing for updates to WiX-specific table definitions.
Added Property
Section titled “Added Property”Gets whether this column was added via a transform.
Declaration
Section titled “Declaration”public bool Added { get; set; }Category Property
Section titled “Category Property”Gets the validation category for this column.
Declaration
Section titled “Declaration”public ColumnCategory Category { get; set; }Description Property
Section titled “Description Property”Gets the description for this column.
Declaration
Section titled “Declaration”public string Description { get; set; }IsLocalizable Property
Section titled “IsLocalizable Property”Gets if the column is localizable. Can be because the type is localizable, or because the column was explicitly set to be so.
Declaration
Section titled “Declaration”public bool IsLocalizable { get; set; }KeyColumn Property
Section titled “KeyColumn Property”Gets the foreign key column that this column refers to.
Declaration
Section titled “Declaration”public System.Nullable<System.Int32> KeyColumn { get; set; }KeyTable Property
Section titled “KeyTable Property”Gets the table that has the foreign key for this column
Declaration
Section titled “Declaration”public string KeyTable { get; set; }Length Property
Section titled “Length Property”Gets the length of the column.
Declaration
Section titled “Declaration”public int Length { get; set; }MaxValue Property
Section titled “MaxValue Property”Gets the maximum value for the column.
Declaration
Section titled “Declaration”public System.Nullable<System.Int64> MaxValue { get; set; }MinValue Property
Section titled “MinValue Property”Gets the minimum value for the column.
Declaration
Section titled “Declaration”public System.Nullable<System.Int64> MinValue { get; set; }ModularizeType Property
Section titled “ModularizeType Property”Gets the type of modularization for this column.
Declaration
Section titled “Declaration”public ColumnModularizeType ModularizeType { get; set; }Name Property
Section titled “Name Property”Gets the name of the column.
Declaration
Section titled “Declaration”public string Name { get; set; }Nullable Property
Section titled “Nullable Property”Gets if the column is nullable.
Declaration
Section titled “Declaration”public bool Nullable { get; set; }Possibilities Property
Section titled “Possibilities Property”Gets the set of possibilities for this column.
Declaration
Section titled “Declaration”public string Possibilities { get; set; }PrimaryKey Property
Section titled “PrimaryKey Property”Gets if the column is a primary key.
Declaration
Section titled “Declaration”public bool PrimaryKey { get; set; }Type Property
Section titled “Type Property”Gets the type of the column.
Declaration
Section titled “Declaration”public ColumnType Type { get; set; }Unreal Property
Section titled “Unreal Property”Gets if column is Unreal.
Declaration
Section titled “Declaration”public bool Unreal { get; set; }UseCData Property
Section titled “UseCData Property”Gets if whitespace should be preserved in a CDATA node.
Declaration
Section titled “Declaration”public bool UseCData { get; set; }