ConnectionDefinition Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for Data Abstract for .NET
This page is generated from external data, please do not update

NamespacesInterfacesClassesEnumsImplements

Contents

Overview

Stores information about a Data Abstract connection and administers the related connection pool in behalf of a ConnectionManager.

Note: Connection definitions are normally listed by a ConnectionManager and defined using the Schema Manager connection wizard. They can be loaded at runtime by using one of the several Load methods of the ConnectionManager.


Location


Properties

ConnectionString

A string used to identify a database connection. Connection strings are in the format <Driver Name>?<Param1>=<Value1>;<Param2>=<Value2>;...



Prism:   property ConnectionString: String read write
C#:   String ConnectionString { get; set; }
VB:   Property ConnectionString As String


ConnectionType



Prism:   property ConnectionType: String read write
C#:   String ConnectionType { get; set; }
VB:   Property ConnectionType As String


Description

A description for this connection definition. The value of this property is purely descriptive and for documentation purposes only; it is not used in code.



Prism:   property Description: String read write
C#:   String Description { get; set; }
VB:   Property Description As String


Pool

A reference to the ConnectionPool object managing live connections for this definition.

Note: This property is used internally by the ConnectionManager and usually not accessed directly from user code.



Prism:   property Pool: ConnectionPool read
C#:   ConnectionPool Pool { get; }
VB:   Property ReadOnly Pool As ConnectionPool


Instance Methods

constructor ()



Oxygene:   constructor
C#:   constructor()
VB:   Sub New


constructor (String, String, PoolBehavior, Int32, Int32)

Default constructor for ConnectionDefinition.


Oxygene:   constructor(name: String; connectionString: String; poolBehavior: PoolBehavior; maxPoolSize: Int32; waitTimeout: Int32)
C#:   constructor(String name, String connectionString, PoolBehavior poolBehavior, Int32 maxPoolSize, Int32 waitTimeout)
VB:   Sub New (name As String, connectionString As String, poolBehavior As PoolBehavior, maxPoolSize As Int32, waitTimeout As Int32)


Parameters:

  • name:
  • connectionString:
  • poolBehavior:
  • maxPoolSize:
  • waitTimeout:


See Also


Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode

GlossaryArticlesFeaturesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox