Class NpgsqlUpdateSqlGenerator
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.
Inheritance
object
NpgsqlUpdateSqlGenerator
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlUpdateSqlGenerator : UpdateSqlGenerator
Constructors
|
Improve this Doc
View Source
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.
Declaration
public NpgsqlUpdateSqlGenerator(UpdateSqlGeneratorDependencies dependencies)
Parameters
Type |
Name |
Description |
UpdateSqlGeneratorDependencies |
dependencies |
|
Methods
|
Improve this Doc
View Source
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.
Declaration
public override ResultSetMapping AppendDeleteOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
IReadOnlyModificationCommand |
command |
|
int |
commandPosition |
|
bool |
requiresTransaction |
|
Returns
Type |
Description |
ResultSetMapping |
|
|
Improve this Doc
View Source
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.
Declaration
protected virtual void AppendInsertCommand(StringBuilder commandStringBuilder, string name, string? schema, IReadOnlyList<IColumnModification> writeOperations, IReadOnlyList<IColumnModification> readOperations, bool overridingSystemValue)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
string |
name |
|
string? |
schema |
|
IReadOnlyList<><IColumnModification> |
writeOperations |
|
IReadOnlyList<><IColumnModification> |
readOperations |
|
bool |
overridingSystemValue |
|
|
Improve this Doc
View Source
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.
Declaration
public virtual ResultSetMapping AppendInsertOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, bool overridingSystemValue, out bool requiresTransaction)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
IReadOnlyModificationCommand |
command |
|
int |
commandPosition |
|
bool |
overridingSystemValue |
|
bool |
requiresTransaction |
|
Returns
Type |
Description |
ResultSetMapping |
|
|
Improve this Doc
View Source
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.
Declaration
public override ResultSetMapping AppendInsertOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
IReadOnlyModificationCommand |
command |
|
int |
commandPosition |
|
bool |
requiresTransaction |
|
Returns
Type |
Description |
ResultSetMapping |
|
|
Improve this Doc
View Source
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.
Declaration
public override void AppendObtainNextSequenceValueOperation(StringBuilder commandStringBuilder, string name, string? schema)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
string |
name |
|
string? |
schema |
|
|
Improve this Doc
View Source
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.
Declaration
public override ResultSetMapping AppendStoredProcedureCall(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
IReadOnlyModificationCommand |
command |
|
int |
commandPosition |
|
bool |
requiresTransaction |
|
Returns
Type |
Description |
ResultSetMapping |
|
|
Improve this Doc
View Source
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.
Declaration
public override ResultSetMapping AppendUpdateOperation(StringBuilder commandStringBuilder, IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction)
Parameters
Type |
Name |
Description |
StringBuilder |
commandStringBuilder |
|
IReadOnlyModificationCommand |
command |
|
int |
commandPosition |
|
bool |
requiresTransaction |
|
Returns
Type |
Description |
ResultSetMapping |
|