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-03-21 UTC."],[[["The latest version of the `TransactionId` class is `5.0.0-beta05`, with multiple previous versions available for reference, including beta and stable releases."],["`TransactionId` is a class within the `Google.Cloud.Spanner.Data` namespace designed to hold information about an active transaction in Cloud Spanner and is serializable."],["The class `TransactionId` offers methods such as `FromBase64String(string)` to create a `TransactionId` from a Base64 encoded string, and `ToBase64String()` to generate a Base64 encoded string representation of a `TransactionId`."],["The `TransactionId` class has a property, `ConnectionString`, that stores the connection string the transaction was created in."],["`TransactionId` also inherits methods from the base `object` class, such as `GetType()`, `ToString()`, and `GetHashCode()`, with the latter being overriden to provide a hash code for the current object."]]],[]]