Table of Contents

Interface IServices

Namespace
The
Assembly
Instagile.dll

An ORM instance with stateful authentication and the ability to create IEntityContext units of work.

public interface IServices

Properties

AppName

string AppName { get; }

Property Value

string

AppVersion

string AppVersion { get; }

Property Value

string

Components

Functions to access built-in entity types added by model features.

ComponentService Components { get; }

Property Value

ComponentService

Documents

Functions to load and store files or images.

DocumentService Documents { get; }

Property Value

DocumentService

Environment

string Environment { get; }

Property Value

string

Export

ExportService Export { get; }

Property Value

ExportService

Import

Functions for copying schema and data from external sources.

ImportService Import { get; }

Property Value

ImportService

Licensing

LicenseService Licensing { get; }

Property Value

LicenseService

Logging

LogService Logging { get; }

Property Value

LogService

Mail

Functions to send email.

MailService Mail { get; }

Property Value

MailService

Metadata

EntityMetadataDictionary Metadata { get; }

Property Value

EntityMetadataDictionary

Persistence

Functions to load and store entities.

PersistenceService Persistence { get; }

Property Value

PersistenceService

RPC

Functions to execute registered procedures, either locally or via a remote IEndpoint.

RPCService RPC { get; }

Property Value

RPCService

ReplaceSmartPunctuation

bool ReplaceSmartPunctuation { get; }

Property Value

bool

Security

SecurityService Security { get; }

Property Value

SecurityService

Version

string Version { get; }

Property Value

string

Methods

CreateContext()

Create an entity context, the unit of work for data access, with the current identity.

IEntityContext CreateContext()

Returns

IEntityContext

CreateContext(IPrincipal)

Create an entity context, the unit of work for data access.

IEntityContext CreateContext(IPrincipal principal)

Parameters

principal IPrincipal

User identity for the created context.

Returns

IEntityContext