GrainExtensions.GetPrimaryKeyString Method

Definition

Overloads

GetPrimaryKeyString(IGrainWithStringKey)

Source:
GrainExtensions.cs
C#
public static string GetPrimaryKeyString(this Orleans.IGrainWithStringKey grain);

Parameters

Returns

Applies to

.NET Orleans 3.6.0 a další verze
Produkt Verze
.NET Orleans 1.5.10, 3.4.5, 3.6.0

GetPrimaryKeyString(IAddressable)

Source:
GrainExtensions.cs

Returns the string primary key of the grain.

C#
public static string GetPrimaryKeyString(this Orleans.Runtime.IAddressable grain);

Parameters

grain
IAddressable

The grain to find the primary key for.

Returns

A string representing the primary key for this grain.

Applies to

.NET Orleans 9.0.0 a další verze
Produkt Verze
.NET Orleans 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0