Interface IInterestHelperFactory
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public interface IInterestHelperFactory
Methods
CreateAsync<T>(T, int, CancellationToken)
Instantiates a class that inherits IInterestHelper. The class is picked based on a given type of linkRows object. Please check currently supported linkRows types on the implementation of this method.
Declaration
Task<IInterestHelper> CreateAsync<T>(T linkRows, int id, CancellationToken cancellationToken = default) where T : TableRowsBase
Parameters
| Type | Name | Description |
|---|---|---|
| T | linkRows | Supported linkRows object. |
| int | id | Entity Id. |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<IInterestHelper> | Class inheriting IInterestHelper |
Type Parameters
| Name | Description |
|---|---|
| T |