public sealed class SetTablePrimaryKey : IMessage<SetTablePrimaryKey>, IEquatable<SetTablePrimaryKey>, IDeepCloneable<SetTablePrimaryKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class SetTablePrimaryKey.
Options to configure rule type SetTablePrimaryKey.
The rule is used to specify the columns and name to configure/alter the
primary key of a table.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `SetTablePrimaryKey` class within the Database Migration v1 API, specifically for version 2.4.0 of the Google Cloud Client Libraries for .NET."],["`SetTablePrimaryKey` is used to configure or alter the primary key of a table, allowing specification of the columns and the name of the primary key."],["The `SetTablePrimaryKey` class implements several interfaces, including `IMessage`, `IEquatable\u003cSetTablePrimaryKey\u003e`, `IDeepCloneable\u003cSetTablePrimaryKey\u003e`, and `IBufferMessage`."],["The class has two constructors, a default one and another that takes another `SetTablePrimaryKey` instance as a parameter, allowing for copying of existing settings."],["The class has two main properties: `PrimaryKey` which is a string representing the name of the primary key, and `PrimaryKeyColumns`, which is a list of strings of column names for the primary key."]]],[]]