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-04-09 UTC."],[[["The `SetTablePrimaryKey` class in the Database Migration v1 API allows configuration and alteration of a table's primary key."],["This class provides options to set the primary key name and specify the list of columns for the primary key, and it is applicable at the table level."],["The `SetTablePrimaryKey` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, one default and one that takes another instance of `SetTablePrimaryKey`."],["There are two properties that need to be set in the class: `PrimaryKey` which is an optional string value of the primary key's name and `PrimaryKeyColumns` which is a required list of column names for the primary key."]]],[]]