Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Infrastructure
  3. RelationalOptionsExtension
  4. WithMigrationsAssembly(String)
  • RelationalOptionsExtension
    • RelationalOptionsExtension()
    • RelationalOptionsExtension(RelationalOptionsExtension)
    • CommandTimeout
    • Connection
    • ConnectionString
    • ExecutionStrategyFactory
    • LogFragment
    • MaxBatchSize
    • MigrationsAssembly
    • MigrationsHistoryTableName
    • MigrationsHistoryTableSchema
    • MinBatchSize
    • UseRelationalNulls
    • ApplyServices(IServiceCollection)
    • Clone()
    • Extract(IDbContextOptions)
    • GetServiceProviderHashCode()
    • Validate(IDbContextOptions)
    • WithCommandTimeout(Int32?)
    • WithConnection(DbConnection)
    • WithConnectionString(String)
    • WithExecutionStrategyFactory(Func<ExecutionStrategyDependencies, IExecutionStrategy>)
    • WithMaxBatchSize(Int32?)
    • WithMigrationsAssembly(String)
    • WithMigrationsHistoryTableName(String)
    • WithMigrationsHistoryTableSchema(String)
    • WithMinBatchSize(Int32?)
    • WithUseRelationalNulls(Boolean)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Infrastructure
{
    public abstract class RelationalOptionsExtension : IDbContextOptionsExtension
    {
        public virtual RelationalOptionsExtension WithMigrationsAssembly(string migrationsAssembly);
    }
}
.NET Core
2.02.12.2
Information specific to netcoreapp2.2
Assembly

Microsoft.EntityFrameworkCore.Relational , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/15/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙