Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMigrationProviderSetup

    Provides setup configuration for a database provider's DbContext options.

    Namespace: Umbraco.Cms.Persistence.EFCore.Migrations
    Assembly: Umbraco.Cms.Persistence.EFCore.dll
    Syntax
    public interface IMigrationProviderSetup

    Properties

    View Source

    ProviderName

    Gets the name of the database provider this setup supports.

    Declaration
    string ProviderName { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    Setup(DbContextOptionsBuilder, string?)

    Configures the DbContext options builder for the specific database provider.

    Declaration
    void Setup(DbContextOptionsBuilder builder, string? connectionString)
    Parameters
    Type Name Description
    DbContextOptionsBuilder builder

    The DbContext options builder to configure.

    string connectionString

    The connection string to use.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX