Database Migration v1 API - Class EntityMapping (2.4.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 > EntityMapping

Namespace

Google.Cloud.CloudDms.V1

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