Search Results for

    Show / Hide Table of Contents

    Interface IDatabaseContext

    Database context

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Simplic.Data.NoSql
    Assembly: Simplic.Data.dll
    Syntax
    public interface IDatabaseContext : IDisposable

    Methods

    | Improve this Doc View Source

    AddCommand(Func<Task>)

    Add a command to the database context

    Declaration
    void AddCommand(Func<Task> func)
    Parameters
    Type Name Description
    System.Func<System.Threading.Tasks.Task> func

    Command delegate

    | Improve this Doc View Source

    SaveChangesAsync()

    Save changes in the current context

    Declaration
    Task<int> SaveChangesAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    Amount of changes

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