Class SQLWrapperQueryRunnerHandler
Indicates that ISQLWrapper can be used in a IQueryRunnerStep as a handler for generating reports
Implements
Inherited Members
Namespace: LemonEdge.API.Core.Reporting.Queries
Assembly: LemonEdge.API.dll
Syntax
public class SQLWrapperQueryRunnerHandler : IQueryRunnerHandler
Constructors
SQLWrapperQueryRunnerHandler()
Declaration
public SQLWrapperQueryRunnerHandler()
Properties
CustomHandlerInstanceItems
Not implemented
Declaration
public IEnumerable<KeyValuePair<Guid, string>> CustomHandlerInstanceItems { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<KeyValuePair<Guid, string>> |
HandlerName
The user friendly name for this type of query runner handler
Declaration
public string HandlerName { get; }
Property Value
| Type | Description |
|---|---|
| string |
QueryRunnerHandlerTypeID
Indicates this works for the ISQLWrapper entity type
Declaration
public Guid QueryRunnerHandlerTypeID { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
RequiresHandlerInstance
Requires a handler instance - Entity SQLWrappers
Declaration
public QueryRunnerHandlerInstanceType RequiresHandlerInstance { get; }
Property Value
| Type | Description |
|---|---|
| QueryRunnerHandlerInstanceType |
SettingsType
Declaration
public Type SettingsType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
GetParameters(Guid?, UserInfo, IReadOnlyCache, IEntityUpdater)
Returns all the parameters against a given ISQLWrapper id
Declaration
public Task<IEnumerable<ISQLTypeWrapper>> GetParameters(Guid? forHandlerID, UserInfo user, IReadOnlyCache cache, IEntityUpdater updater)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | forHandlerID | The id of a ISQLWrapper |
| UserInfo | user | The logged in user this is running for |
| IReadOnlyCache | cache | A local cache |
| IEntityUpdater | updater | A context for fetching items |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<ISQLTypeWrapper>> | All the parameters against a given ISQLWrapper id |