Search Results for

    Show / Hide Table of Contents

    Interface IOrganizationRepository<TId, TDocument, TFilter>

    Basic repository

    Inherited Members
    IRepository<TId, TDocument, TFilter>.CreateAsync(TDocument)
    IRepository<TId, TDocument, TFilter>.UpdateAsync(TDocument)
    IRepository<TId, TDocument, TFilter>.DeleteAsync(TId)
    IRepository<TId, TDocument, TFilter>.UpsertAsync(TFilter, TDocument)
    IRepository<TId, TDocument, TFilter>.CommitAsync()
    IReadOnlyRepository<TId, TDocument, TFilter>.GetAsync(TId)
    IReadOnlyRepository<TId, TDocument, TFilter>.GetAllAsync()
    IReadOnlyRepository<TId, TDocument, TFilter>.GetByFilterAsync(TFilter)
    IReadOnlyRepository<TId, TDocument, TFilter>.FindAsync(TFilter, Nullable<Int32>, Nullable<Int32>, String, Boolean)
    System.IDisposable.Dispose()
    Namespace: Simplic.Data.NoSql
    Assembly: Simplic.Data.dll
    Syntax
    public interface IOrganizationRepository<TId, TDocument, TFilter> : IRepository<TId, TDocument, TFilter>, IReadOnlyRepository<TId, TDocument, TFilter>, IDisposable where TDocument : IDocument<TId> where TFilter : IFilter<TId>
    Type Parameters
    Name Description
    TId

    PK (ID) type

    TDocument

    Entity type

    TFilter

    Filter type

    Methods

    | Improve this Doc View Source

    GetAllAsync(Boolean)

    Get all entities from data source

    Declaration
    Task<IEnumerable<TDocument>> GetAllAsync(bool queryAllOrganizations = false)
    Parameters
    Type Name Description
    System.Boolean queryAllOrganizations
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TDocument>>

    Enumerable of entities

    | Improve this Doc View Source

    GetAsync(TId, Boolean)

    Get an entity by its id

    Declaration
    Task<TDocument> GetAsync(TId id, bool queryAllOrganizations = false)
    Parameters
    Type Name Description
    TId id
    System.Boolean queryAllOrganizations
    Returns
    Type Description
    System.Threading.Tasks.Task<TDocument>

    Entity

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx