UpdateSqlGenerator.AppendWhereCondition Method
Definition
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.
Overloads
AppendWhereCondition(StringBuilder, ColumnModification, Boolean) |
Appends a |
AppendWhereCondition(StringBuilder, IColumnModification, Boolean) |
Appends a |
AppendWhereCondition(StringBuilder, ColumnModification, Boolean)
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
Appends a WHERE
condition for the given column.
protected virtual void AppendWhereCondition (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.ColumnModification columnModification, bool useOriginalValue);
abstract member AppendWhereCondition : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.ColumnModification * bool -> unit
override this.AppendWhereCondition : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.ColumnModification * bool -> unit
Protected Overridable Sub AppendWhereCondition (commandStringBuilder As StringBuilder, columnModification As ColumnModification, useOriginalValue As Boolean)
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- columnModification
- ColumnModification
The column for which the condition is being generated.
- useOriginalValue
- Boolean
If true
, then the original value will be used in the condition, otherwise the current value will be used.
Applies to
AppendWhereCondition(StringBuilder, IColumnModification, Boolean)
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
Appends a WHERE
condition for the given column.
protected virtual void AppendWhereCondition (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IColumnModification columnModification, bool useOriginalValue);
abstract member AppendWhereCondition : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IColumnModification * bool -> unit
override this.AppendWhereCondition : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IColumnModification * bool -> unit
Protected Overridable Sub AppendWhereCondition (commandStringBuilder As StringBuilder, columnModification As IColumnModification, useOriginalValue As Boolean)
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- columnModification
- IColumnModification
The column for which the condition is being generated.
- useOriginalValue
- Boolean
If true
, then the original value will be used in the condition, otherwise the current value will be used.
Applies to
Entity Framework