Class SqlSortTraitPlaceholderNode
- Namespace
- LfrlAnvil.Sql.Expressions
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents an SQL syntax tree sort trait placeholder node.
public sealed class SqlSortTraitPlaceholderNode : SqlTraitNode
- Inheritance
-
SqlSortTraitPlaceholderNode
- Inherited Members
Properties
Identifier
Placeholder's identifier.
public string Identifier { get; }
Property Value
IncludeOrderBy
Specifies whether this node should include the ORDER BY prefix.
public bool IncludeOrderBy { get; }
Property Value
SqlPlaceholder
Text that will be injected into the SQL statement by this placeholder.
public string SqlPlaceholder { 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.