RelationalDbContextOptionsBuilder<TBuilder,TExtension>.MigrationsAssembly(String) Method

Definition

Configures the assembly where migrations are maintained for this context.

public virtual TBuilder MigrationsAssembly (string assemblyName);
abstract member MigrationsAssembly : string -> 'Builder
override this.MigrationsAssembly : string -> 'Builder
Public Overridable Function MigrationsAssembly (assemblyName As String) As TBuilder

Parameters

assemblyName
String

The name of the assembly.

Returns

TBuilder

The same builder instance so that multiple calls can be chained.

Applies to