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 EntityMapping : IMessage<EntityMapping>, IEquatable<EntityMapping>, IDeepCloneable<EntityMapping>, IBufferMessage, IMessage

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

Details of the mappings of a database entity.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[EntityMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EntityMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[EntityMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping.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

### EntityMapping()

    public EntityMapping()

### EntityMapping(EntityMapping)

    public EntityMapping(EntityMapping other)

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

## Properties

### DraftEntity

    public string DraftEntity { get; set; }

Target entity full name.
The draft entity can also include a column, index or constraint using the
same naming notation schema.table.column.

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

### DraftType

    public DatabaseEntityType DraftType { get; set; }

Type of draft entity.

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

### MappingLog

    public RepeatedField<EntityMappingLogEntry> MappingLog { get; }

Entity mapping log entries.
Multiple rules can be effective and contribute changes to a converted
entity, such as a rule can handle the entity name, another rule can handle
an entity type. In addition, rules which did not change the entity are also
logged along with the reason preventing them to do so.

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

### SourceEntity

    public string SourceEntity { get; set; }

Source entity full name.
The source entity can also be a column, index or constraint using the
same naming notation schema.table.column.

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

### SourceType

    public DatabaseEntityType SourceType { get; set; }

Type of source entity.

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