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

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
TypeDescription
string

DraftType

public DatabaseEntityType DraftType { get; set; }

Type of draft entity.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

SourceType

public DatabaseEntityType SourceType { get; set; }

Type of source entity.

Property Value
TypeDescription
DatabaseEntityType