Suoranta.EnterpriseLib.Web - Developer API

SqlServerConnectionElement Properties

The SqlServerConnectionElement type exposes the following members.

Properties


  Name Description
Public property App

Field Value

Corresponds to ApplicationName
(Inherited from ConnectionElement.)
Public property CurrentConfiguration (Inherited from ConfigurationElement.)
Public property Database
Gets or sets

Field Value

name of the database instance, traditionally known as InitialCatalog.
(Inherited from ConnectionElement.)
Public property DataSource
Public property ElementInformation (Inherited from ConfigurationElement.)
Public property Encrypt (Inherited from ConnectionElement.)
Protected property EvaluationContext (Inherited from ConfigurationElement.)
Protected property HasContext (Inherited from ConfigurationElement.)
Protected property HasPassword (Inherited from ConnectionElement.)
Public property IntegratedSecurity
Public property Key
Should be identical to DbContext implementation class name
(Inherited from ConnectionElement.)
Public property LockAllAttributesExcept (Inherited from ConfigurationElement.)
Public property LockAllElementsExcept (Inherited from ConfigurationElement.)
Public property LockAttributes (Inherited from ConfigurationElement.)
Public property LockElements (Inherited from ConfigurationElement.)
Public property LockItem (Inherited from ConfigurationElement.)
Public property Metadata
Metadata definition files for EF "Database First" and "Model First". See Metadata.

Should not include Provider, as it is added automatically.

(Inherited from ConnectionElement.)
Public property MultipleActiveResultSets
Multiple active result sets are enable by default.
(Inherited from ConnectionElement.)
Public property Password
Can be either SQL account password or Entra ID account password, depending on the context
(Inherited from ConnectionElement.)
Public property PersistSecurityInfo (Inherited from ConnectionElement.)
Public property Provider (Inherited from ConnectionElement.)
Public property UserId

Field Value

Can represent either SQL user or Entra ID account, depending on context.
(Inherited from ConnectionElement.)