Class PostgresILikeExpression
Represents a PostgreSQL ILIKE expression.
Inheritance
object
PostgresILikeExpression
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class PostgresILikeExpression : SqlExpression, IEquatable<PostgresILikeExpression>
Constructors
|
Improve this Doc
View Source
PostgresILikeExpression(SqlExpression, SqlExpression, SqlExpression?, RelationalTypeMapping?)
Declaration
public PostgresILikeExpression(SqlExpression match, SqlExpression pattern, SqlExpression? escapeChar, RelationalTypeMapping? typeMapping)
Parameters
Type |
Name |
Description |
SqlExpression |
match |
The expression to match.
|
SqlExpression |
pattern |
The pattern to match.
|
SqlExpression? |
escapeChar |
The escape character to use in pattern .
|
RelationalTypeMapping? |
typeMapping |
The associated with the expression.
|
Properties
|
Improve this Doc
View Source
EscapeChar
The escape character to use in Pattern.
Declaration
public virtual SqlExpression? EscapeChar { get; }
Property Value
Type |
Description |
SqlExpression? |
|
|
Improve this Doc
View Source
Match
Declaration
public virtual SqlExpression Match { get; }
Property Value
Type |
Description |
SqlExpression |
|
|
Improve this Doc
View Source
Pattern
Declaration
public virtual SqlExpression Pattern { get; }
Property Value
Type |
Description |
SqlExpression |
|
Methods
|
Improve this Doc
View Source
Equals(PostgresILikeExpression?)
Declaration
public virtual bool Equals(PostgresILikeExpression? other)
Parameters
Returns
|
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
protected override void Print(ExpressionPrinter expressionPrinter)
Parameters
Type |
Name |
Description |
ExpressionPrinter |
expressionPrinter |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
|
Improve this Doc
View Source
Update(SqlExpression, SqlExpression, 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 virtual PostgresILikeExpression Update(SqlExpression match, SqlExpression pattern, SqlExpression? escapeChar)
Parameters
Type |
Name |
Description |
SqlExpression |
match |
|
SqlExpression |
pattern |
|
SqlExpression? |
escapeChar |
|
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
IEquatable<>