public sealed class MultiEntityRename : IMessage<MultiEntityRename>, IEquatable<MultiEntityRename>, IDeepCloneable<MultiEntityRename>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class MultiEntityRename.
Options to configure rule type MultiEntityRename.
The rule is used to rename multiple entities.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Database, Schema, Table, Column, Constraint,
Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
public EntityNameTransformation SourceNameTransformation { get; set; }
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eMultiEntityRename\u003c/code\u003e class within the Database Migration v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMultiEntityRename\u003c/code\u003e is a rule type used to rename multiple entities, supporting scopes like Database, Schema, Table, and more.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNewNamePattern\u003c/code\u003e property allows specifying a pattern for generating new entity names, with '{name}' as a placeholder for the original name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceNameTransformation\u003c/code\u003e property allows optional transformations on the source entity name, such as converting it to lowercase.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation are available, ranging from version 1.0.0 to the latest version 2.5.0.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class MultiEntityRename (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.MultiEntityRename)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.MultiEntityRename)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.MultiEntityRename) \n\n public sealed class MultiEntityRename : IMessage\u003cMultiEntityRename\u003e, IEquatable\u003cMultiEntityRename\u003e, IDeepCloneable\u003cMultiEntityRename\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class MultiEntityRename.\n\nOptions to configure rule type MultiEntityRename.\nThe rule is used to rename multiple entities.\n\nThe rule filter field can refer to one or more entities.\n\nThe rule scope can be one of: Database, Schema, Table, Column, Constraint,\nIndex, View, Function, Stored Procedure, Materialized View, Sequence, UDT \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MultiEntityRename \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MultiEntityRename](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MultiEntityRename), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MultiEntityRename](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MultiEntityRename), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MultiEntityRename](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MultiEntityRename), [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### MultiEntityRename()\n\n public MultiEntityRename()\n\n### MultiEntityRename(MultiEntityRename)\n\n public MultiEntityRename(MultiEntityRename other)\n\nProperties\n----------\n\n### NewNamePattern\n\n public string NewNamePattern { get; set; }\n\nOptional. The pattern used to generate the new entity's name. This pattern\nmust include the characters '{name}', which will be replaced with the name\nof the original entity. For example, the pattern 't_{name}' for an entity\nname jobs would be converted to 't_jobs'.\n\nIf unspecified, the default value for this field is '{name}'\n\n### SourceNameTransformation\n\n public EntityNameTransformation SourceNameTransformation { get; set; }\n\nOptional. Additional transformation that can be done on the source entity\nname before it is being used by the new_name_pattern, for example lower\ncase. If no transformation is desired, use NO_TRANSFORMATION"]]