public sealed class TransactionId : IEquatable<TransactionId>
Reference documentation and code samples for the Google.Cloud.Spanner.Data class TransactionId.
A TransactionId holds identifying information about an active transaction in
Cloud Spanner. Since it is serializable, it enables you to send this information
to another process or machine so it may connect to the same transaction.
[[["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 latest beta version for Google.Cloud.Spanner.Data is 5.0.0-beta05, while version 4.6.0 is currently the standard, with a range of older versions listed from 4.5.0 down to 3.5.0."],["The `TransactionId` class, which is part of the Google.Cloud.Spanner.Data namespace, holds information about active Cloud Spanner transactions, and is serializable, allowing for sharing of transaction details across processes or machines."],["This `TransactionId` class, which inherits from object and implements `IEquatable\u003cTransactionId\u003e`, includes a `ConnectionString` property which represents the connection string the transaction originated from."],["The `TransactionId` class includes methods for converting the transaction ID to and from a Base64 encoded string, specifically, `FromBase64String(string)` to recreate the transaction and `ToBase64String()` to convert to the string format."],["The `TransactionId` class, part of the `Google.Cloud.Spanner.Data` assembly, also contains an override for `GetHashCode()` to provide a unique hash code for the object."]]],[]]