Search Results for

    Show / Hide Table of Contents

    Class EventTemplateRepository

    Inheritance
    object
    EventTemplateRepository
    Implements
    IEventTemplateRepository
    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 EventTemplateRepository : IEventTemplateRepository

    Constructors

    EventTemplateRepository(IDbContextFactory<OEMSDBContext>)

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

    Methods

    AddAsync(EventTemplate)

    Declaration
    public Task AddAsync(EventTemplate entity)
    Parameters
    Type Name Description
    EventTemplate entity
    Returns
    Type Description
    Task

    GetByIdAsync(Guid)

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

    GetEventTemplatesByOrganizationIdAsync(Guid)

    Declaration
    public Task<List<EventTemplate>> GetEventTemplatesByOrganizationIdAsync(Guid organizationId)
    Parameters
    Type Name Description
    Guid organizationId
    Returns
    Type Description
    Task<List<EventTemplate>>

    Remove(EventTemplate)

    Declaration
    public void Remove(EventTemplate entity)
    Parameters
    Type Name Description
    EventTemplate entity

    RemoveAsync(Guid)

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

    SaveChangesAsync()

    Declaration
    public Task SaveChangesAsync()
    Returns
    Type Description
    Task

    Implements

    IEventTemplateRepository
    In this article
    Back to top Generated by DocFX