Show / Hide Table of Contents

    Interface IEntityFrameworkSettings

    The basic settings of the Entity Framework based implementations.

    Namespace: Silverback.Storage
    Assembly: Silverback.Storage.EntityFramework.dll
    Syntax
    public interface IEntityFrameworkSettings

    Properties

    DbContextType

    Gets the type of the DbContext to be used to access the database.

    Declaration
    Type DbContextType { get; }
    Property Value
    Type Description
    Type

    Methods

    GetDbContext(IServiceProvider, ISilverbackContext?)

    Gets the factory method that creates the DbContext instance.

    Declaration
    DbContext GetDbContext(IServiceProvider serviceProvider, ISilverbackContext? context = null)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The IServiceProvider to be used to resolve the DbContext.

    ISilverbackContext context

    The ISilverbackContext.

    Returns
    Type Description
    DbContext

    The DbContext instance.

    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini