MigrationsEndPointExtensions.UseMigrationsEndPoint 方法

定义

重载

UseMigrationsEndPoint(IApplicationBuilder)

处理请求以执行迁移操作。 中间件将侦听对 DefaultPath发出的请求。

UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions)

处理请求以执行迁移操作。 中间件将侦听对 中 options配置的路径的请求。

UseMigrationsEndPoint(IApplicationBuilder)

Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs

处理请求以执行迁移操作。 中间件将侦听对 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

参数

app
IApplicationBuilder

IApplicationBuilder 注册中间件的 。

返回

同一 IApplicationBuilder 实例,以便可以链接多个调用。

适用于

UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions)

Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs

处理请求以执行迁移操作。 中间件将侦听对 中 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

参数

app
IApplicationBuilder

IApplicationBuilder 注册中间件的 。

options
MigrationsEndPointOptions

设置中间件选项的操作。

返回

同一 IApplicationBuilder 实例,以便可以链接多个调用。

适用于