Table of Contents

Class RegexReplacementSQL

Namespace
The.SQL.Persistence
Assembly
Instagile.dll

Converts a .NET Regex.Replace replacement string into POSIX-style backreference syntax for ANSI SQL backends (PostgreSQL, SQL Server). Used only when the replacement refers to entity data and so cannot be rewritten at translation time by RegexTranslation.RewriteReplacement.

public static class RegexReplacementSQL
Inheritance
RegexReplacementSQL
Inherited Members

Methods

RewriteDynamicReplacement(string)

public static string RewriteDynamicReplacement(string replacementValue)

Parameters

replacementValue string

The already-emitted SQL expression yielding the .NET replacement string.

Returns

string