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 `TransactionId` class in Google.Cloud.Spanner.Data provides identifying information about an active Cloud Spanner transaction, allowing for it to be serialized and shared between processes or machines."],["The `TransactionId` class can be instantiated from a Base64 encoded string using the `FromBase64String()` method, enabling the recreation of a transaction from serialized data."],["The `ToBase64String()` method converts a `TransactionId` object into a Base64 encoded string, which is useful for transmitting the transaction's identifying data."],["The `ConnectionString` property gives the connection string that the transaction was initially created in."],["The class implements `IEquatable\u003cTransactionId\u003e`, providing functionality for comparison between `TransactionId` instances."]]],[]]