Redigera

Dela via


TransactionalResourceExtension Class

Definition

public class TransactionalResourceExtension : Orleans.Runtime.IGrainExtension, Orleans.Transactions.Abstractions.ITransactionalResourceExtension
type TransactionalResourceExtension = class
    interface ITransactionalResourceExtension
    interface IGrainExtension
    interface IAddressable
Public Class TransactionalResourceExtension
Implements IGrainExtension, ITransactionalResourceExtension
Inheritance
TransactionalResourceExtension
Implements

Constructors

TransactionalResourceExtension(IGrainActivationContext)
TransactionalResourceExtension(IGrainContextAccessor)

Methods

Abort(String, Guid)
Cancel(String, Guid, DateTime, TransactionalStatus)
CommitReadOnly(String, Guid, AccessCounter, DateTime)
Confirm(String, Guid, DateTime)
Prepare(String, Guid, AccessCounter, DateTime, ParticipantId)

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.

GetPrimaryKey(IAddressable, String)

Returns the Guid representation of a grain primary key.

GetPrimaryKey(IAddressable)

Returns the Guid representation of a grain primary key.

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