Table of Contents

Class RemoteEntityStore

Namespace
The.Persistence
Assembly
Instagile.dll
public class RemoteEntityStore : IEntityStore, IDependencyProvider
Inheritance
RemoteEntityStore
Implements
Inherited Members

Constructors

RemoteEntityStore(RPCClient)

public RemoteEntityStore(RPCClient rpcClient)

Parameters

rpcClient RPCClient

Properties

Description

Human-readable name

public string Description { get; }

Property Value

string

TranslationPolicy

Preferred SQL generation config

public TranslationPolicy TranslationPolicy { get; }

Property Value

TranslationPolicy

Methods

ConnectAsync(CallbackEnvironment)

Verifies that the store is available and access is permitted

public Task<Response<ConnectResult>> ConnectAsync(CallbackEnvironment environment)

Parameters

environment CallbackEnvironment

Returns

Task<Response<ConnectResult>>

ExecuteReads(CallbackEnvironment, IReadOnlyList<ReadOperation>, QueryConfig)

public Response<ReadResult> ExecuteReads(CallbackEnvironment environment, IReadOnlyList<ReadOperation> ops, QueryConfig config)

Parameters

environment CallbackEnvironment
ops IReadOnlyList<ReadOperation>
config QueryConfig

Returns

Response<ReadResult>

ExecuteReadsAsync(CallbackEnvironment, IReadOnlyList<ReadOperation>, QueryConfig, bool)

public Task<Response<ReadResult>> ExecuteReadsAsync(CallbackEnvironment environment, IReadOnlyList<ReadOperation> ops, QueryConfig config, bool cancellable)

Parameters

environment CallbackEnvironment

Standard long-running I/O utilities.

ops IReadOnlyList<ReadOperation>

A batch of isolated commands to execute.

config QueryConfig

Settings affecting query execution.

cancellable bool

True if app code explicitly requested cancellability (cancellation may still be triggered by errors otherwise).

Returns

Task<Response<ReadResult>>

ExecuteWritesAsync(CallbackEnvironment, IReadOnlyList<WriteOperation>, bool)

public Task<Response<WriteResult>> ExecuteWritesAsync(CallbackEnvironment environment, IReadOnlyList<WriteOperation> ops, bool cancellable)

Parameters

environment CallbackEnvironment

Standard long-running I/O utilities.

ops IReadOnlyList<WriteOperation>

A batch of transactional commands to execute.

cancellable bool

True if app code explicitly requested cancellability (cancellation may still be triggered by errors otherwise).

Returns

Task<Response<WriteResult>>

HarvestDependencies()

public IEnumerable<ServiceDescriptor> HarvestDependencies()

Returns

IEnumerable<ServiceDescriptor>