DataWeb
Search Results for

    Show / Hide Table of Contents

    Class AutomationScenarioStore

    Inheritance
    object
    AutomationScenarioStore
    Implements
    IAutomationScenarioStore
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Automation.SqlServer
    Assembly: DataWeb.Data.SqlServer.dll
    Syntax
    public class AutomationScenarioStore : IAutomationScenarioStore

    Constructors

    AutomationScenarioStore(ISqlHelper)

    Declaration
    public AutomationScenarioStore(ISqlHelper sqlHelper)
    Parameters
    Type Name Description
    ISqlHelper sqlHelper

    Properties

    Name

    Gets the name of the store implementation.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Methods

    GetScenarioAsync(AutomationScenarioFilter, CancellationToken)

    Retrieves the first automation scenario matching the specified filter, or null if none is found.

    Declaration
    public Task<AutomationScenario> GetScenarioAsync(AutomationScenarioFilter filter, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    AutomationScenarioFilter filter

    The filter criteria used to query the automation scenario.

    CancellationToken cancellationToken

    A token to cancel the asynchronous operation.

    Returns
    Type Description
    Task<AutomationScenario>

    The first matching AutomationScenario, or null.

    GetScenariosAsync(AutomationScenarioFilter, CancellationToken)

    Retrieves a collection of automation scenarios matching the specified filter.

    Declaration
    public Task<IEnumerable<AutomationScenario>> GetScenariosAsync(AutomationScenarioFilter filter, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    AutomationScenarioFilter filter

    The filter criteria used to query automation scenarios.

    CancellationToken cancellationToken

    A token to cancel the asynchronous operation.

    Returns
    Type Description
    Task<IEnumerable<AutomationScenario>>

    A collection of AutomationScenario matching the filter.

    Implements

    IAutomationScenarioStore
    In this article
    Back to top Generated by DocFX