TableVersion
class
Namespace: Orleans
Represents the version of a membership table and the entity tag used for optimistic concurrency.
[Orleans.GenerateSerializer][Orleans.Immutable]public sealed class TableVersion : IEquatable<TableVersion>, IFormattable, ISpanFormattableConstructors
TableVersion(int, string)Initializes a new instance of theTableVersionclass.
Properties
VersionThe version part of this TableVersion. Monotonically increasing number.VersionEtagThe etag of this TableVersion, used for validation of table update operations.
Methods
Equals(TableVersion?)Indicates whether the current object is equal to another object of the same type.Equals(object?)Determines whether the specified object is equal to the current object.GetHashCodeServes as the default hash function.NextCreates the next membership table version while retaining the current entity tag for concurrency validation.ToStringReturns a string that represents the current object.operator ==(TableVersion?, TableVersion?)Determines whether two membership table versions are equal.operator !=(TableVersion?, TableVersion?)Determines whether two membership table versions are not equal.
