Class PoolingSettings
The pooling settings for the database connection
Inheritance
System.Object
PoolingSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Foundations.Core.AppDataLayer.Configuration
Assembly:Foundations.Core.AppDataLayer.dll
Syntax
public class PoolingSettings
Constructors
PoolingSettings()
Initializes a new instance of the PoolingSettings class.
Declaration
public PoolingSettings()
Fields
DecrSize
Decremental step of connection pool
Declaration
public int DecrSize
Field Value
Type | Description |
---|---|
System.Int32 |
Enlist
Sessions in a Component Services environment should automatically be enlisted in a global transaction where required.
Declaration
public bool Enlist
Field Value
Type | Description |
---|---|
System.Boolean |
IncrSize
Incremental step of connection pool
Declaration
public int IncrSize
Field Value
Type | Description |
---|---|
System.Int32 |
Lifetime
Connection Lifetime. The amount of time (in seconds) for this connection to live in the pool before destroyed.
Declaration
public int Lifetime
Field Value
Type | Description |
---|---|
System.Int32 |
MaxSize
The maximum number of connections allowed in the pool.
Declaration
public int MaxSize
Field Value
Type | Description |
---|---|
System.Int32 |
MinSize
The minimum number of connections allowed in the pool.
Declaration
public int MinSize
Field Value
Type | Description |
---|---|
System.Int32 |
Pooling
When true, the connection object is drawn from the appropriate pool, or if necessary, is created and added to the appropriate pool.
Declaration
public bool Pooling
Field Value
Type | Description |
---|---|
System.Boolean |
Timeout
Timeout of pool
Declaration
public int Timeout
Field Value
Type | Description |
---|---|
System.Int32 |