Skip to content

LegacyGrainId

class

Namespace: Orleans.Runtime

Represents an identifier using the legacy Orleans grain identity encoding.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class LegacyGrainId : IComparable<LegacyGrainId>, IEquatable<LegacyGrainId>

Properties

  • Category Gets the category encoded in this identifier.
  • IdentityString Gets a detailed string representation of this identifier.
  • IsClient Gets a value indicating whether this identifier represents a client.
  • IsGrain Gets a value indicating whether this identifier represents a grain.
  • IsLongKey Gets a value indicating whether the primary key is encoded as a System.Int64.
  • IsSystemTarget Gets a value indicating whether this identifier represents a system target.
  • PrimaryKey Gets the GUID primary key.
  • PrimaryKeyLong Gets the integer primary key.
  • PrimaryKeyString Gets the string primary key extension, or an empty string if this identifier has no key extension.
  • TypeCode Gets the legacy grain type code.

Methods