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
dependencies
UpdateSqlGeneratorDependencies
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
commandStringBuilder
StringBuildercommand
IReadOnlyModificationCommandcommandPosition
intrequiresTransaction
bool
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
commandStringBuilder
StringBuildername
stringschema
stringwriteOperations
IReadOnlyList<IColumnModification>readOperations
IReadOnlyList<IColumnModification>overridingSystemValue
bool
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
commandStringBuilder
StringBuildercommand
IReadOnlyModificationCommandcommandPosition
intoverridingSystemValue
boolrequiresTransaction
bool
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
commandStringBuilder
StringBuildercommand
IReadOnlyModificationCommandcommandPosition
intrequiresTransaction
bool
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
commandStringBuilder
StringBuildername
stringschema
string
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
commandStringBuilder
StringBuildercommand
IReadOnlyModificationCommandcommandPosition
intrequiresTransaction
bool
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
updateSqlGeneratorHelper
ISqlGenerationHelperThe update sql generator helper.
columnModification
IColumnModificationThe operation representing the data to be updated.
stringBuilder
StringBuilderThe builder to which the SQL should be appended.
name
stringThe name of the table.
schema
stringThe 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
commandStringBuilder
StringBuildercommand
IReadOnlyModificationCommandcommandPosition
intrequiresTransaction
bool