共用方式為


SqlServerMigrationsSqlGenerator.Transfer Method

Definition

Generates a transfer from one schema to another.

protected virtual void Transfer (string newSchema, string schema, string name, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Transfer (string? newSchema, string? schema, string name, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Transfer : string * string * string * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Transfer : string * string * string * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Transfer (newSchema As String, schema As String, name As String, builder As MigrationCommandListBuilder)

Parameters

newSchema
String

The schema to transfer to.

schema
String

The schema to transfer from.

name
String

The name of the item to transfer.

builder
MigrationCommandListBuilder

The command builder to use to build the commands.

Applies to