Skip to content

ConnectionStringEntry class

namespace: Serenity.Data   assembly: Serenity.Net.Services

A connection string setting.

public class ConnectionStringEntry

Public Members

name description
ConnectionStringEntry() The default constructor.
Collation { get; set; } Gets or sets the default collation to use if the database for this connection is created by the application, in the format of the database engine, e.g. "Turkish_100_CI_AS" for SQL Server. It has no effect on a database that already exists. Defaults to null, meaning the database is created with the default collation of the server.
Comparer { get; set; } Gets or sets the comparer specification used to compare string field values for this connection, e.g. "Ordinal", "OrdinalIgnoreCase", "CurrentCultureIgnoreCase", "tr-TR" or "tr-TR:IgnoreCase". Defaults to null, meaning DefaultComparer is used.
ConnectionString { get; set; } Gets or sets the connection string.
Dialect { get; set; } Gets or sets the dialect name.
DialectInstance { get; set; } Gets or sets the dialect instance.
FallbackFor { get; set; } Gets or sets a semicolon-separated list of connection keys that fall back to this connection when they are not configured. For example, "ProFeatures;ProWorkLog".
FallbackForKeys { get; } Gets the parsed, trimmed connection keys from FallbackFor, split on ';'. Returns an empty set when FallbackFor is null or empty. Parsed lazily and cached.
PartialContainment { get; set; } Gets or sets a value indicating whether a SQL Server database for this connection is created as a partially contained database, if it is created by the application. Table and column names of such a database are compared by a fixed case insensitive collation, whatever Collation is.
ProviderName { get; set; } Gets or sets the provider name.

See Also