UpdateSqlGenerator.AppendDeleteCommand Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>) |
Appends a SQL command for deleting a row to the commands being built. |
AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>) |
Appends a SQL command for deleting a row to the commands being built. |
AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, Boolean) |
Appends a SQL command for deleting a row to the commands being built. |
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
Appends a SQL command for deleting a row to the commands being built.
protected virtual void AppendDeleteCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> conditionOperations);
abstract member AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
override this.AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
Protected Overridable Sub AppendDeleteCommand (commandStringBuilder As StringBuilder, name As String, schema As String, conditionOperations As IReadOnlyList(Of ColumnModification))
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- name
- String
The name of the table.
- schema
- String
The table schema, or null
to use the default schema.
- conditionOperations
- IReadOnlyList<ColumnModification>
The operations used to generate the WHERE
clause for the delete.
Applies to
Entity Framework Core 5.0 och andra versioner
Produkt | Versioner |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0 |
- Source:
- UpdateSqlGenerator.cs
Appends a SQL command for deleting a row to the commands being built.
protected virtual void AppendDeleteCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> conditionOperations);
abstract member AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
override this.AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
Protected Overridable Sub AppendDeleteCommand (commandStringBuilder As StringBuilder, name As String, schema As String, conditionOperations As IReadOnlyList(Of IColumnModification))
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- name
- String
The name of the table.
- schema
- String
The table schema, or null
to use the default schema.
- conditionOperations
- IReadOnlyList<IColumnModification>
The operations used to generate the WHERE
clause for the delete.
Applies to
Entity Framework Core 6.0
Produkt | Versioner |
---|---|
Entity Framework Core | 6.0 |
AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, Boolean)
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
Appends a SQL command for deleting a row to the commands being built.
protected virtual void AppendDeleteCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> readOperations, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> conditionOperations, bool appendReturningOneClause = false);
abstract member AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * bool -> unit
override this.AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * bool -> unit
Protected Overridable Sub AppendDeleteCommand (commandStringBuilder As StringBuilder, name As String, schema As String, readOperations As IReadOnlyList(Of IColumnModification), conditionOperations As IReadOnlyList(Of IColumnModification), Optional appendReturningOneClause As Boolean = false)
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- name
- String
The name of the table.
- schema
- String
The table schema, or null
to use the default schema.
- readOperations
- IReadOnlyList<IColumnModification>
The operations for column values to be read back.
- conditionOperations
- IReadOnlyList<IColumnModification>
The operations used to generate the WHERE
clause for the delete.
- appendReturningOneClause
- Boolean
Whether to append an additional constant of 1 to be read back.
Applies to
Entity Framework Core 9.0 och andra versioner
Produkt | Versioner |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: