DatabaseCaretReferences class

namespace: Serenity.Data   assemblySerenity.Net.Data

Helper class for replacing database caret references in format [^ConnectionKey] in SQL expressions.

public class DatabaseCaretReferences

Public Members

name description
DatabaseCaretReferences() The default constructor.
static GetDatabaseName(…) Exracts database name from connection string
static Replace(…) Replaces caret references like [^ConnectionKey] in the specified expression with actual database names.

See Also