TransactionalState<TState>
class
Namespace: Orleans.Transactions
Stateful facet that respects Orleans transaction semantics
public class TransactionalState<TState> : ILifecycleParticipant<IGrainLifecycle>, ITransactionalState<TState> where TState : class, new()Constructors
Properties
Methods
Participate(IGrainLifecycle)Adds the provided observer as a participant in the lifecycle.PerformRead(Func<TState, TResult>)Read the current state.PerformUpdate(Func<TState, TResult>)Performs an update operation and returns the result.
