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