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 holds identifying information about an active Cloud Spanner transaction, allowing for connection to the same transaction from different processes or machines."],["The latest version is 5.0.0-beta05, with the content referring to version 4.3.0, and many other versions available for use in between, as well as before the 4.3.0 and the newest one."],["The `TransactionId` class implements `IEquatable` and inherits members from the `object` class, which includes methods like `GetType()`, `MemberwiseClone()`, and `ToString()`."],["You can serialize a `TransactionId` into a Base64 string using `ToBase64String()` and deserialize it back into a `TransactionId` using `FromBase64String(string)`."],["The class includes a `ConnectionString` property that indicates the connection string used when the transaction was created, as well as an override for the `GetHashCode()` method."]]],[]]