Class SqlConditionPlaceholderNode
- Namespace
- LfrlAnvil.Sql.Expressions
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents an SQL syntax tree condition placeholder node.
public sealed class SqlConditionPlaceholderNode : SqlConditionNode
- Inheritance
-
SqlConditionPlaceholderNode
- Inherited Members
- Extension Methods
Properties
Identifier
Placeholder's identifier.
public string Identifier { get; }
Property Value
SqlPlaceholder
Text that will be injected into the SQL statement by this placeholder.
public string SqlPlaceholder { get; }
Property Value
WrapInParentheses
Specifies whether to wrap replacement text in parentheses.
public bool WrapInParentheses { get; }
Property Value
Methods
Replace(string, string)
Replaces this placeholder in the provided targetSql with the provided replacementSql.
[Pure]
public string Replace(string targetSql, string replacementSql)
Parameters
targetSqlstringText to replace this placeholder in.
replacementSqlstringText to replace this placeholder with.
Returns
- string
Text with replaced placeholder.