2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class ColumnEntity : IMessage<ColumnEntity>, IEquatable<ColumnEntity>, IDeepCloneable<ColumnEntity>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class ColumnEntity.

Column is not used as an independent entity, it is retrieved as part of a
Table entity.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ColumnEntity

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ColumnEntity](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ColumnEntity.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ColumnEntity](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ColumnEntity.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ColumnEntity](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ColumnEntity.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### ColumnEntity()

    public ColumnEntity()

### ColumnEntity(ColumnEntity)

    public ColumnEntity(ColumnEntity other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ColumnEntity` |

## Properties

### Array

    public bool Array { get; set; }

Is the column of array type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ArrayLength

    public int ArrayLength { get; set; }

If the column is array, of which length.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### AutoGenerated

    public bool AutoGenerated { get; set; }

Is the column auto-generated/identity.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Charset

    public string Charset { get; set; }

Charset override - instead of table level charset.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Collation

    public string Collation { get; set; }

Collation override - instead of table level collation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Comment

    public string Comment { get; set; }

Comment associated with the column.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CustomFeatures

    public Struct CustomFeatures { get; set; }

Custom engine specific features.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Struct` |   |

### DataType

    public string DataType { get; set; }

Column data type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DefaultValue

    public string DefaultValue { get; set; }

Default value of the column.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### FractionalSecondsPrecision

    public int FractionalSecondsPrecision { get; set; }

Column fractional second precision - used for timestamp based datatypes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Length

    public long Length { get; set; }

Column length - e.g. varchar (50).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### Name

    public string Name { get; set; }

Column name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Nullable

    public bool Nullable { get; set; }

Is the column nullable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### OrdinalPosition

    public int OrdinalPosition { get; set; }

Column order in the table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Precision

    public int Precision { get; set; }

Column precision - when relevant.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Scale

    public int Scale { get; set; }

Column scale - when relevant.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### SetValues

    public RepeatedField<string> SetValues { get; }

Specifies the list of values allowed in the column.
Only used for set data type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Udt

    public bool Udt { get; set; }

Is the column a UDT.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |