ConnectionStringInfo class
namespace: Serenity.Data assembly: Serenity.Net.Services
Contains a connection string, its key, and provider name.
public class ConnectionStringInfo : IConnectionString
| parameter | description |
|---|---|
| connectionKey | The connection key. |
| connectionString | The connection string. |
| providerName | The name of the provider. |
| dialect | The SQL dialect. |
Public Members
| name | description |
|---|---|
| ConnectionStringInfo(…) | Contains a connection string, its key, and provider name. |
| Collation { get; set; } | Gets the default collation to use if the database for this connection is created by the application, or null to use the default of the server. |
| Comparer { get; set; } | Gets the comparer specification of this connection, if any. |
| ConnectionKey { get; } | Gets the connection key. |
| ConnectionString { get; } | Gets the connection string. |
| Dialect { get; } | Gets the dialect. |
| PartialContainment { get; set; } | Gets 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. |
| ProviderName { get; } | Gets the name of the provider. |
Remarks
Initializes a new instance of the ConnectionStringInfo class.
See Also
- interface IConnectionString
- Source: ConnectionStringInfo.cs