Search Results for

    Show / Hide Table of Contents

    Class ProcessStepTemplateRepository

    Inheritance
    object
    ProcessStepTemplateRepository
    Implements
    IProcessStepTemplateRepository
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.Core.Infrastructure.Repositories
    Assembly: OEMS.Core.dll
    Syntax
    public class ProcessStepTemplateRepository : IProcessStepTemplateRepository

    Constructors

    ProcessStepTemplateRepository(IDbContextFactory<OEMSDBContext>)

    Declaration
    public ProcessStepTemplateRepository(IDbContextFactory<OEMSDBContext> contextFactory)
    Parameters
    Type Name Description
    IDbContextFactory<OEMSDBContext> contextFactory

    Methods

    CreateAsync(ProcessStepTemplate)

    Declaration
    public Task<Guid> CreateAsync(ProcessStepTemplate template)
    Parameters
    Type Name Description
    ProcessStepTemplate template
    Returns
    Type Description
    Task<Guid>

    DeleteAsync(Guid)

    Declaration
    public Task DeleteAsync(Guid id)
    Parameters
    Type Name Description
    Guid id
    Returns
    Type Description
    Task

    ExistsAsync(Guid)

    Declaration
    public Task<bool> ExistsAsync(Guid id)
    Parameters
    Type Name Description
    Guid id
    Returns
    Type Description
    Task<bool>

    GetAllAsync()

    Declaration
    public Task<IEnumerable<ProcessStepTemplate>> GetAllAsync()
    Returns
    Type Description
    Task<IEnumerable<ProcessStepTemplate>>

    GetByIdAsync(Guid)

    Declaration
    public Task<ProcessStepTemplate> GetByIdAsync(Guid id)
    Parameters
    Type Name Description
    Guid id
    Returns
    Type Description
    Task<ProcessStepTemplate>

    GetByOrganizationIdAsync(Guid)

    Declaration
    public Task<IEnumerable<ProcessStepTemplate>> GetByOrganizationIdAsync(Guid organizationId)
    Parameters
    Type Name Description
    Guid organizationId
    Returns
    Type Description
    Task<IEnumerable<ProcessStepTemplate>>

    GetByProcessTemplateIdAsync(Guid)

    Declaration
    public Task<IEnumerable<ProcessStepTemplate>> GetByProcessTemplateIdAsync(Guid processTemplateId)
    Parameters
    Type Name Description
    Guid processTemplateId
    Returns
    Type Description
    Task<IEnumerable<ProcessStepTemplate>>

    GetMaxSequenceForProcessTemplateAsync(Guid)

    Declaration
    public Task<int> GetMaxSequenceForProcessTemplateAsync(Guid processTemplateId)
    Parameters
    Type Name Description
    Guid processTemplateId
    Returns
    Type Description
    Task<int>

    UpdateAsync(ProcessStepTemplate)

    Declaration
    public Task UpdateAsync(ProcessStepTemplate template)
    Parameters
    Type Name Description
    ProcessStepTemplate template
    Returns
    Type Description
    Task

    UpdateSequenceAsync(Guid, int)

    Declaration
    public Task UpdateSequenceAsync(Guid id, int newSequence)
    Parameters
    Type Name Description
    Guid id
    int newSequence
    Returns
    Type Description
    Task

    Implements

    IProcessStepTemplateRepository
    In this article
    Back to top Generated by DocFX