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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eEntityMapping\u003c/code\u003e class for the Database Migration v1 API is 2.5.0, with previous versions available from 1.0.0 to 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityMapping\u003c/code\u003e class provides details about the mappings of a database entity and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains properties to manage source and draft entities, including their names (\u003ccode\u003eSourceEntity\u003c/code\u003e, \u003ccode\u003eDraftEntity\u003c/code\u003e) and types (\u003ccode\u003eSourceType\u003c/code\u003e, \u003ccode\u003eDraftType\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMappingLog\u003c/code\u003e property is a \u003ccode\u003eRepeatedField\u003c/code\u003e that records log entries (\u003ccode\u003eEntityMappingLogEntry\u003c/code\u003e) for changes and actions applied to a converted entity.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, \u003ccode\u003eEntityMapping()\u003c/code\u003e and \u003ccode\u003eEntityMapping(EntityMapping other)\u003c/code\u003e, with the second allowing for the creation of an object from an existing \u003ccode\u003eEntityMapping\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class EntityMapping (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.EntityMapping)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.EntityMapping) \n\n public sealed class EntityMapping : IMessage\u003cEntityMapping\u003e, IEquatable\u003cEntityMapping\u003e, IDeepCloneable\u003cEntityMapping\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class EntityMapping.\n\nDetails of the mappings of a database entity. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e EntityMapping \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EntityMapping](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EntityMapping](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EntityMapping](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.EntityMapping), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### EntityMapping()\n\n public EntityMapping()\n\n### EntityMapping(EntityMapping)\n\n public EntityMapping(EntityMapping other)\n\nProperties\n----------\n\n### DraftEntity\n\n public string DraftEntity { get; set; }\n\nTarget entity full name.\nThe draft entity can also include a column, index or constraint using the\nsame naming notation schema.table.column.\n\n### DraftType\n\n public DatabaseEntityType DraftType { get; set; }\n\nType of draft entity.\n\n### MappingLog\n\n public RepeatedField\u003cEntityMappingLogEntry\u003e MappingLog { get; }\n\nEntity mapping log entries.\nMultiple rules can be effective and contribute changes to a converted\nentity, such as a rule can handle the entity name, another rule can handle\nan entity type. In addition, rules which did not change the entity are also\nlogged along with the reason preventing them to do so.\n\n### SourceEntity\n\n public string SourceEntity { get; set; }\n\nSource entity full name.\nThe source entity can also be a column, index or constraint using the\nsame naming notation schema.table.column.\n\n### SourceType\n\n public DatabaseEntityType SourceType { get; set; }\n\nType of source entity."]]