Edit

Share via


ITransactionTestGrain Interface

Definition

public interface ITransactionTestGrain : Orleans.IGrainWithGuidKey
type ITransactionTestGrain = interface
    interface IGrainWithGuidKey
    interface IGrain
    interface IAddressable
Public Interface ITransactionTestGrain
Implements IGrainWithGuidKey
Derived
Implements

Methods

Add(Int32)

apply add operation to every transaction state

AddAndThrow(Int32)
Deactivate()
Get()

apply get operation to every transaction state

Set(Int32)

apply set operation to every transaction state

SetAndThrow(Int32)

Extension Methods

AsReference(IAddressable, Type)

Returns a typed reference to the provided grain.

AsReference<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

BindGrainReference(IAddressable, IGrainFactory)

Binds the grain reference to the provided IGrainFactory.

Cast(IAddressable, Type)

Returns a typed reference to the provided grain.

Cast<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

GetGrainId(IAddressable)

Returns the grain id corresponding to the provided grain.

GetGrainIdentity(IGrain)
GetPrimaryKey(IGrain, String)
GetPrimaryKey(IGrain)
GetPrimaryKey(IAddressable, String)

Returns the Guid representation of a grain primary key.

GetPrimaryKey(IAddressable)

Returns the Guid representation of a grain primary key.

GetPrimaryKeyLong(IGrain, String)
GetPrimaryKeyLong(IGrain)
GetPrimaryKeyLong(IAddressable, String)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

GetPrimaryKeyString(IAddressable)

Returns the string primary key of the grain.

IsPrimaryKeyBasedOnLong(IAddressable)

Returns whether part of the primary key is of type long.

Applies to