Lingua

SqlServerMigrationsSqlGenerator.DropDefaultConstraint Metodo

Definizione

Overload

Nome Descrizione
DropDefaultConstraint(String, String, String, MigrationCommandListBuilder)

Genera un frammento SQL per eliminare i vincoli predefiniti per una colonna.

DropDefaultConstraint(String, String, String, String, MigrationCommandListBuilder)

Genera un frammento SQL per eliminare i vincoli predefiniti per una colonna.

DropDefaultConstraint(String, String, String, MigrationCommandListBuilder)

Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs

Genera un frammento SQL per eliminare i vincoli predefiniti per una colonna.

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

Parametri

schema
String

Schema contenente la tabella.

tableName
String

Tabella contenente la colonna.

columnName
String

Colonna.

builder
MigrationCommandListBuilder

Generatore di comandi da usare per aggiungere il frammento SQL.

Si applica a

DropDefaultConstraint(String, String, String, String, MigrationCommandListBuilder)

Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs

Genera un frammento SQL per eliminare i vincoli predefiniti per una colonna.

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

Parametri

schema
String

Schema contenente la tabella.

tableName
String

Tabella contenente la colonna.

columnName
String

Colonna.

defaultConstraintName
String

Nome del vincolo predefinito.

builder
MigrationCommandListBuilder

Generatore di comandi da usare per aggiungere il frammento SQL.

Si applica a