MigrationsEndPointExtensions Class¶
Microsoft.AspNetCore.Builder.IApplicationBuilder
extension methods for the Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware
.
- Namespace
Microsoft.AspNetCore.Builder
- Assemblies
- Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Syntax¶
public class MigrationsEndPointExtensions
-
class
Microsoft.AspNetCore.Builder.
MigrationsEndPointExtensions
Methods¶
-
UseMigrationsEndPoint
(Microsoft.AspNetCore.Builder.IApplicationBuilder)¶ Processes requests to execute migrations operations. The middleware will listen for requests made to
Microsoft.AspNetCore.Builder.MigrationsEndPointOptions.DefaultPath
.Arguments: app (Microsoft.AspNetCore.Builder.IApplicationBuilder) – The Microsoft.AspNetCore.Builder.IApplicationBuilder
to register the middleware with.Return type: Microsoft.AspNetCore.Builder.IApplicationBuilder Returns: The same Microsoft.AspNetCore.Builder.IApplicationBuilder
instance so that multiple calls can be chained.public static IApplicationBuilder UseMigrationsEndPoint(this IApplicationBuilder app)
-
UseMigrationsEndPoint
(Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Builder.MigrationsEndPointOptions) Processes requests to execute migrations operations. The middleware will listen for requests to the path configured in <em>options</em>.
Arguments: - app (Microsoft.AspNetCore.Builder.IApplicationBuilder) – The
Microsoft.AspNetCore.Builder.IApplicationBuilder
to register the middleware with. - options (Microsoft.AspNetCore.Builder.MigrationsEndPointOptions) – An action to set the options for the middleware.
Return type: Returns: The same
Microsoft.AspNetCore.Builder.IApplicationBuilder
instance so that multiple calls can be chained.public static IApplicationBuilder UseMigrationsEndPoint(this IApplicationBuilder app, MigrationsEndPointOptions options)
- app (Microsoft.AspNetCore.Builder.IApplicationBuilder) – The
-