Sprache

SqlServerMigrationsSqlGenerator.DropDefaultConstraint Methode

Definition

Überlädt

Name Beschreibung
DropDefaultConstraint(String, String, String, MigrationCommandListBuilder)

Generiert ein SQL-Fragment, um Standardeinschränkungen für eine Spalte abzulegen.

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

Generiert ein SQL-Fragment, um Standardeinschränkungen für eine Spalte abzulegen.

DropDefaultConstraint(String, String, String, MigrationCommandListBuilder)

Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs

Generiert ein SQL-Fragment, um Standardeinschränkungen für eine Spalte abzulegen.

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)

Parameter

schema
String

Das Schema, das die Tabelle enthält.

tableName
String

Die Tabelle, die die Spalte enthält.

columnName
String

Die Spalte.

builder
MigrationCommandListBuilder

Der Befehls-Generator, der zum Hinzufügen des SQL-Fragments verwendet werden soll.

Gilt für:

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

Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs

Generiert ein SQL-Fragment, um Standardeinschränkungen für eine Spalte abzulegen.

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)

Parameter

schema
String

Das Schema, das die Tabelle enthält.

tableName
String

Die Tabelle, die die Spalte enthält.

columnName
String

Die Spalte.

defaultConstraintName
String

Der Name der Standardeinschränkung.

builder
MigrationCommandListBuilder

Der Befehls-Generator, der zum Hinzufügen des SQL-Fragments verwendet werden soll.

Gilt für: