MigrationsEndPointExtensions.UseMigrationsEndPoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseMigrationsEndPoint(IApplicationBuilder) |
处理请求以执行迁移操作。 中间件将侦听对 DefaultPath发出的请求。 |
UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions) |
处理请求以执行迁移操作。 中间件将侦听对 中 |
UseMigrationsEndPoint(IApplicationBuilder)
处理请求以执行迁移操作。 中间件将侦听对 DefaultPath发出的请求。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMigrationsEndPoint(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMigrationsEndPoint (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseMigrationsEndPoint : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMigrationsEndPoint (app As IApplicationBuilder) As IApplicationBuilder
参数
要 IApplicationBuilder 注册中间件的 。
返回
同一 IApplicationBuilder 实例,以便可以链接多个调用。
适用于
UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions)
处理请求以执行迁移操作。 中间件将侦听对 中 options
配置的路径的请求。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMigrationsEndPoint(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::MigrationsEndPointOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMigrationsEndPoint (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.MigrationsEndPointOptions options);
static member UseMigrationsEndPoint : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.MigrationsEndPointOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMigrationsEndPoint (app As IApplicationBuilder, options As MigrationsEndPointOptions) As IApplicationBuilder
参数
要 IApplicationBuilder 注册中间件的 。
- options
- MigrationsEndPointOptions
设置中间件选项的操作。
返回
同一 IApplicationBuilder 实例,以便可以链接多个调用。