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
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
ExportService Export { get; }
Property Value
Import
Functions for copying schema and data from external sources.
ImportService Import { get; }
Property Value
Licensing
LicenseService Licensing { get; }
Property Value
Logging
LogService Logging { get; }
Property Value
Functions to send email.
MailService Mail { get; }
Property Value
Metadata
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
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.