Class EntitySchemaIndexColumn
The index column.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
[MetaType("{4937B32F-2A3D-4f15-9BA7-B54DCCABF555}")]
[DesignModeProperty(Name = "Name", UsageType = DesignModeUsageType.None)]
[DesignModeProperty(Name = "Column", ValuesProvider = "EntitySchemaIndexColumnsProvider", UsageType = DesignModeUsageType.General, IsRequired = true, MetaPropertyName = "G2")]
[DesignModeProperty(Name = "OrderDirection", UsageType = DesignModeUsageType.General, IsRequired = true)]
[DesignModeProperty(Name = "ColumnUId", MetaPropertyName = "G1", UsageType = DesignModeUsageType.None)]
public class EntitySchemaIndexColumn : MetaItem, IMetaItem, IMetaDataSerializable, ICloneable
Constructors
EntitySchemaIndexColumn()
Initializes a new EntitySchemaIndexColumn instance.
Declaration
public EntitySchemaIndexColumn()
EntitySchemaIndexColumn(EntitySchemaIndexColumn)
Initializes a new EntitySchemaIndexColumn instance that is a clone of the specified index column.
Declaration
public EntitySchemaIndexColumn(EntitySchemaIndexColumn source)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaIndexColumn | source | The index column whose clone is being created. |
Properties
Column
Instance of the index column.
Declaration
[MetaTypeProperty("{BA522248-5B2B-43b5-9832-ADB7B320DA66}", "{8ED2B55D-0442-4d2a-8FCF-65E2118515B6}")]
public EntitySchemaColumn Column { get; set; }
Property Value
Type | Description |
---|---|
EntitySchemaColumn |
ColumnUId
Identifier of the index column.
Declaration
public Guid ColumnUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsInherited
Declaration
public bool IsInherited { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name of the index column.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
OrderDirection
The sorting order.
Declaration
[MetaTypeProperty("{7332DFEF-8E59-4b45-8BC7-FAF0169DFF60}")]
public OrderDirectionStrict OrderDirection { get; set; }
Property Value
Type | Description |
---|---|
OrderDirectionStrict |
ParentCollection
The collection to which the index column belongs.
Declaration
public EntitySchemaIndexColumnCollection ParentCollection { get; }
Property Value
Type | Description |
---|---|
EntitySchemaIndexColumnCollection |
Methods
ApplyMetaDataValue(DataReader)
Proofreading the values of the index column properties from the metadata using the specified DataReader.
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader | The DataReader instance that provides metadata proofreading. |
Overrides
Clone()
Returns the clone of the current index column.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | The clone of the current index column. |
Overrides
WriteMetaData(DataWriter)
Records index column metadata using the DataWriter instance.
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | The DataWriter instance that writes index columns metadata. |
Overrides
Implements
System.ICloneable