Class FieldKeysBase
Base class for classes that declare field metadata for the Crm side of the ERP integration system
Inherited Members
Namespace: SuperOffice.ErpSync
Assembly: SuperOffice.Services.Implementation.dll
Syntax
public abstract class FieldKeysBase
Constructors
FieldKeysBase()
Base class for classes that declare field metadata for the Crm side of the ERP integration system
Declaration
protected FieldKeysBase()
Properties
Fields
Base class for classes that declare field metadata for the Crm side of the ERP integration system
Declaration
protected AsyncLazy<FieldMetadataInfo[]> Fields { get; }
Property Value
Type | Description |
---|---|
AsyncLazy<FieldMetadataInfo[]> |
Udef
Subclass must tell what udef type it has, if any
Declaration
protected abstract UDefType Udef { get; }
Property Value
Type | Description |
---|---|
UDefType |
Methods
Flush()
Base class for classes that declare field metadata for the Crm side of the ERP integration system
Declaration
public void Flush()
GetFieldsAsync(CrmActorType, CancellationToken)
Get metadata for all fields supported by a given CRM Actor type
Declaration
public static Task<FieldMetadataInfo[]> GetFieldsAsync(CrmActorType actorType, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CrmActorType | actorType | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<FieldMetadataInfo[]> |
InitFieldsAsync(CancellationToken)
Get metadata about the fields supported for the given CRM ActorType, as represented by the subclass
Declaration
protected Task<FieldMetadataInfo[]> InitFieldsAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<FieldMetadataInfo[]> |