Class NpgsqlUpdateSqlGenerator
- Namespace
- Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class NpgsqlUpdateSqlGenerator : UpdateSqlGenerator, IUpdateSqlGenerator
- Inheritance
-
NpgsqlUpdateSqlGenerator
- Implements
- Inherited Members
Constructors
NpgsqlUpdateSqlGenerator(UpdateSqlGeneratorDependencies)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public NpgsqlUpdateSqlGenerator(UpdateSqlGeneratorDependencies dependencies)
Parameters
dependenciesUpdateSqlGeneratorDependencies
Methods
AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, int, out bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override ResultSetMapping AppendDeleteOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
commandStringBuilderStringBuildercommandIReadOnlyModificationCommandcommandPositionintrequiresTransactionbool
Returns
AppendInsertCommand(StringBuilder, string, string?, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual void AppendInsertCommand(StringBuilder commandStringBuilder, string name, string? schema, IReadOnlyList<IColumnModification> writeOperations, IReadOnlyList<IColumnModification> readOperations, bool overridingSystemValue)
Parameters
commandStringBuilderStringBuildernamestringschemastringwriteOperationsIReadOnlyList<IColumnModification>readOperationsIReadOnlyList<IColumnModification>overridingSystemValuebool
AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, int, bool, out bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual ResultSetMapping AppendInsertOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, bool overridingSystemValue, out bool requiresTransaction)
Parameters
commandStringBuilderStringBuildercommandIReadOnlyModificationCommandcommandPositionintoverridingSystemValueboolrequiresTransactionbool
Returns
AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, int, out bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override ResultSetMapping AppendInsertOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
commandStringBuilderStringBuildercommandIReadOnlyModificationCommandcommandPositionintrequiresTransactionbool
Returns
AppendObtainNextSequenceValueOperation(StringBuilder, string, string?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override void AppendObtainNextSequenceValueOperation(StringBuilder commandStringBuilder, string name, string? schema)
Parameters
commandStringBuilderStringBuildernamestringschemastring
AppendStoredProcedureCall(StringBuilder, IReadOnlyModificationCommand, int, out bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override ResultSetMapping AppendStoredProcedureCall(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
commandStringBuilderStringBuildercommandIReadOnlyModificationCommandcommandPositionintrequiresTransactionbool
Returns
AppendUpdateColumnValue(ISqlGenerationHelper, IColumnModification, StringBuilder, string, string?)
Appends a SQL fragment representing the value that is assigned to a column which is being updated.
protected override void AppendUpdateColumnValue(ISqlGenerationHelper updateSqlGeneratorHelper, IColumnModification columnModification, StringBuilder stringBuilder, string name, string? schema)
Parameters
updateSqlGeneratorHelperISqlGenerationHelperThe update sql generator helper.
columnModificationIColumnModificationThe operation representing the data to be updated.
stringBuilderStringBuilderThe builder to which the SQL should be appended.
namestringThe name of the table.
schemastringThe table schema, or null to use the default schema.
AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, int, out bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override ResultSetMapping AppendUpdateOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
commandStringBuilderStringBuildercommandIReadOnlyModificationCommandcommandPositionintrequiresTransactionbool