Class PostgresDeleteExpression
An SQL expression that represents a PostgreSQL DELETE operation.
Inheritance
object
PostgresDeleteExpression
Implements
IPrintableExpression
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public sealed class PostgresDeleteExpression : Expression, IPrintableExpression
Constructors
|
Improve this Doc
View Source
PostgresDeleteExpression(TableExpression, IReadOnlyList<TableExpressionBase>, SqlExpression?, ISet<string>)
Declaration
public PostgresDeleteExpression(TableExpression table, IReadOnlyList<TableExpressionBase> fromItems, SqlExpression? predicate, ISet<string> tags)
Parameters
Type |
Name |
Description |
TableExpression |
table |
|
IReadOnlyList<><TableExpressionBase> |
fromItems |
|
SqlExpression? |
predicate |
|
ISet<><string> |
tags |
|
Properties
|
Improve this Doc
View Source
FromItems
Additional tables which can be referenced in the predicate.
Declaration
public IReadOnlyList<TableExpressionBase> FromItems { get; }
Property Value
Type |
Description |
IReadOnlyList<><TableExpressionBase> |
|
|
Improve this Doc
View Source
NodeType
Declaration
public override ExpressionType NodeType { get; }
Property Value
Type |
Description |
ExpressionType |
|
|
Improve this Doc
View Source
Predicate
The WHERE predicate for the DELETE.
Declaration
public SqlExpression? Predicate { get; }
Property Value
Type |
Description |
SqlExpression? |
|
|
Improve this Doc
View Source
Table
The tables that rows are to be deleted from.
Declaration
public TableExpression Table { get; }
Property Value
Type |
Description |
TableExpression |
|
|
Improve this Doc
View Source
Tags
The list of tags applied to this .
Declaration
public ISet<string> Tags { get; }
Property Value
Type |
Description |
ISet<><string> |
|
|
Improve this Doc
View Source
Type
Declaration
public override Type Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object? |
obj |
|
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
|
Improve this Doc
View Source
Print(ExpressionPrinter)
Declaration
public void Print(ExpressionPrinter expressionPrinter)
Parameters
Type |
Name |
Description |
ExpressionPrinter |
expressionPrinter |
|
|
Improve this Doc
View Source
Update(SqlExpression?)
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will
return this expression.
Declaration
public PostgresDeleteExpression Update(SqlExpression? predicate)
Parameters
Type |
Name |
Description |
SqlExpression? |
predicate |
The Predicate property of the result.
|
Returns
|
Improve this Doc
View Source
VisitChildren(ExpressionVisitor)
Declaration
protected override Expression VisitChildren(ExpressionVisitor visitor)
Parameters
Type |
Name |
Description |
ExpressionVisitor |
visitor |
|
Returns
Type |
Description |
Expression |
|
Implements
IPrintableExpression