Interface IDataUpdaterFactory
The interface for a connection provider to the lemonedge platform. This is implemented by a direct database provider, and a web service one.
You do not need to use this provider interface implementations directly, you can access all their functionality from Instance
This can be used for connecting to the lemonedge platform, authenticating and logging in
It also provides an IEntityUpdaterUI for retrieving, querying and updating all data in the system
Inherited Members
Namespace: LemonEdge.API.Client.CommonUI
Assembly: LemonEdge.API.dll
Syntax
public interface IDataUpdaterFactory : IUpdateServiceConnection, IClientConnectionType
Properties
LoggedInUserFriendlyConnection
The user friendly part of the connection string specific to this provider type
Declaration
string LoggedInUserFriendlyConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Create(IConnector)
Creates a new instance of the IEntityUpdaterUI core interface for retrieving, querying and updating all data in the system
Declaration
Task<IEntityUpdaterUI> Create(IConnector connector)
Parameters
| Type | Name | Description |
|---|---|---|
| IConnector | connector | The connector, which should contain the current user. |
Returns
| Type | Description |
|---|---|
| Task<IEntityUpdaterUI> | A new instance of the IEntityUpdaterUI core interface for retrieving, querying and updating all data in the system |
CreateAuthenticator(IConnector)
Returns an implementation of the IAuthenticator to provide login services.
You do not need to use this directly, you can instead login from Connector.Login(string,string)
Declaration
IAuthenticator CreateAuthenticator(IConnector connector)
Parameters
| Type | Name | Description |
|---|---|---|
| IConnector | connector | The current connector requesting the interface |
Returns
| Type | Description |
|---|---|
| IAuthenticator | An implementation of the IAuthenticator to provide login services. |
CreateDatabaseStatusProxy(IConnector)
Returns an implementation of the IDatabaseStatusProxy to provide database status.
Declaration
IDatabaseStatusProxy CreateDatabaseStatusProxy(IConnector connector)
Parameters
| Type | Name | Description |
|---|---|---|
| IConnector | connector | The current connector requesting the interface |
Returns
| Type | Description |
|---|---|
| IDatabaseStatusProxy | An implementation of the IDatabaseStatusProxy to provide database status. |
CreateDynamicEntityLoader(IConnector)
Returns an implementation of the IDynamicEntityLoader to provide login services.
Declaration
IDynamicEntityLoader CreateDynamicEntityLoader(IConnector connector)
Parameters
| Type | Name | Description |
|---|---|---|
| IConnector | connector | The current connector requesting the interface |
Returns
| Type | Description |
|---|---|
| IDynamicEntityLoader | An implementation of the IDynamicEntityLoader to provide login services. |
CreateStorageManager()
Creates a new instance of the IStorageManager
Declaration
IStorageManager CreateStorageManager()
Returns
| Type | Description |
|---|---|
| IStorageManager |
ReloadCache()
Reloads the cache for the current connector
Declaration
Task ReloadCache()
Returns
| Type | Description |
|---|---|
| Task |