Interface IProxyManager
Proxy manager
Namespace: XData.Interfaces
Assembly: XData.docfx.dll
Syntax
public interface IProxyManager
Methods
| Improve this Doc View SourceGetProxy(String)
Returns XAppServer connection proxy object
Declaration
IProxy GetProxy(string endpointName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | endpointName |
Returns
| Type | Description |
|---|---|
| IProxy |
GetProxyRepository(Guid, RepositoryState)
Returns proxy repository using state
Declaration
IRepository GetProxyRepository(Guid layer, RepositoryState state)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | layer | Repository layer |
| RepositoryState | state | Repository state |
Returns
| Type | Description |
|---|---|
| IRepository | Repository |
GetProxyRepository<T>(Guid, String, String, ISecuritySession, Variable[])
Returns proxy repository
Declaration
IRepository<T> GetProxyRepository<T>(Guid layer = default(Guid), string alias = null, string context = null, ISecuritySession security = null, params Variable[] variables)
where T : class, IDataObject, new()
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | layer | Repository layer |
| String | alias | Repository alias |
| String | context | Repository context |
| ISecuritySession | security | Repository security context |
| Variable[] | variables | Repository variables |
Returns
| Type | Description |
|---|---|
| IRepository<T> | Repository |
Type Parameters
| Name | Description |
|---|---|
| T | Repository element type |