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
AppVersion
string AppVersion { get; }
Property Value
Choices
IChoicePolicy Choices { get; }
Property Value
Components
Functions to access built-in entity types added by model features.
ComponentService Components { get; }
Property Value
Documents
Functions to load and store files or images.
DocumentService Documents { get; }
Property Value
Environment
string Environment { get; }
Property Value
Export
Functions for exporting data to tabular formats.
ExportService Export { get; }
Property Value
Import
Functions for copying schema and data from external sources.
ImportService Import { get; }
Property Value
Licensing
Functions for checking licence information.
LicenseService Licensing { get; }
Property Value
Logging
Functions for creating loggers.
LogService Logging { get; }
Property Value
Functions to send email.
MailService Mail { get; }
Property Value
Metadata
Runtime description of the active entity model.
EntityMetadataDictionary Metadata { get; }
Property Value
Persistence
Functions to load and store entities.
PersistenceService Persistence { get; }
Property Value
RPC
Functions to execute registered procedures, either locally or via a remote IEndpoint.
RPCService RPC { get; }
Property Value
ReplaceSmartPunctuation
bool ReplaceSmartPunctuation { get; }
Property Value
Security
Functions to log in and out or otherwise manipulate security IPrincipals.
SecurityService Security { get; }
Property Value
Version
string Version { get; }
Property Value
Methods
CreateContext()
Create an entity context, the unit of work for data access, with the current identity.
IEntityContext CreateContext()
Returns
CreateContext(IPrincipal)
Create an entity context, the unit of work for data access.
IEntityContext CreateContext(IPrincipal principal)
Parameters
principalIPrincipalUser identity for the created context.