Show / Hide Table of Contents

Class DatabaseAgent

Proxy class for the Database Agent Used when communicating remote using WebServices. Avoid using directly. Use the AgentFactory to create the proxy instead.

Inheritance
object
DatabaseAgent
Implements
IDatabaseAgent
IAgent
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.Implementation.dll
Syntax
public class DatabaseAgent : IDatabaseAgent, IAgent

Constructors

DatabaseAgent(IDictionaryStepInformationImplementation, ISoRequestItemsAccessor)

Proxy class for the Database Agent Used when communicating remote using WebServices. Avoid using directly. Use the AgentFactory to create the proxy instead.

Declaration
public DatabaseAgent(IDictionaryStepInformationImplementation dictionaryStepInformationImplementation, ISoRequestItemsAccessor accessor)
Parameters
Type Name Description
IDictionaryStepInformationImplementation dictionaryStepInformationImplementation
ISoRequestItemsAccessor accessor

DatabaseAgent(IDictionaryStepInformationImplementation, ISoRequestItemsAccessor, IDebugUser, IServiceCallsRepository, IScriptingConfiguration, IOnlineConfiguration)

Proxy class for the Database Agent Used when communicating remote using WebServices. Avoid using directly. Use the AgentFactory to create the proxy instead.

Declaration
public DatabaseAgent(IDictionaryStepInformationImplementation dictionaryStepInformationImplementation, ISoRequestItemsAccessor accessor, IDebugUser debugUser, IServiceCallsRepository serviceCallsRepository, ConfigFile.IScriptingConfiguration scriptingConfiguration, ConfigFile.IOnlineConfiguration onlineConfiguration)
Parameters
Type Name Description
IDictionaryStepInformationImplementation dictionaryStepInformationImplementation
ISoRequestItemsAccessor accessor
IDebugUser debugUser
IServiceCallsRepository serviceCallsRepository
IScriptingConfiguration scriptingConfiguration
IOnlineConfiguration onlineConfiguration

Methods

GetStepsFromNetServerCodeAsync(CancellationToken)

Get information about the dictionary steps that NetServer was generated for

Declaration
public Task<DictionaryStepInformation[]> GetStepsFromNetServerCodeAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

This operation cannot be cancelled; the cancellationToken parameter is ignored

Returns
Type Description
Task<DictionaryStepInformation[]>

Array of dictionary steps used when NetServer was generated, listing only the highest number for each step

GetStepsInDatabaseAsync(CancellationToken)

Get information about the dictionary steps that are in the currently-loggedon database

Declaration
public Task<DictionaryStepInformation[]> GetStepsInDatabaseAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

This operation cannot be cancelled; the cancellationToken parameter is ignored

Returns
Type Description
Task<DictionaryStepInformation[]>

Array of dictionary steps in the database, listing only the highest number for each step

Implements

IDatabaseAgent
IAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top