FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::IConnectionManagerImp Class Reference
[OSGeo::FDO]

Inherits OSGeo::FDO::Runtime::Disposable, and OSGeo::FDO::OSGeo::FDO::IConnectionManager.

Inheritance diagram for OSGeo::FDO::IConnectionManagerImp:

[legend]
List of all members.

Detailed Description

The IConnectionManagerImp class is a concrete implementation of IConnectionManager. IConnectionManager supports dynamic creation of connection objects given a provider name.

Remarks:
In order for dynamic creation to work, each dynamic link library, shared library, or assembly that implements a provider must supply a well-defined entry point function that takes as input a provider name and returns an FdoIConnection instance. The definition of the entry point function is language- and platform-dependent. For this release of FDO, the windows libraries supporting FDO providers will be expected to support the following well-known entry point function, which will create and return an unitialized connection object:
IConnection * CreateConnection();


Public Member Functions

OSGeo::FDO::Connections::IConnectionCreateConnection (String *providerName)
 Creates an unitialized connection object given the provider name.
System::Void FreeLibrary (String *providerName)
 Frees a connection library reference given the provider name.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()

Member Function Documentation

OSGeo ::FDO ::Connections ::IConnection* OSGeo::FDO::IConnectionManagerImp::CreateConnection String *  providerName  ) 
 

Creates an unitialized connection object given the provider name.

Parameters:
providerName The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns an instance of an IConnection object. Throws an instance of Exception if an error occurs.

System::Void OSGeo::FDO::IConnectionManagerImp::FreeLibrary String *  providerName  ) 
 

Frees a connection library reference given the provider name.

Parameters:
providerName The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns nothing. Throws an instance of Exception if an error occurs.

System::Void OSGeo::FDO::IConnectionManagerImp::ReleaseUnmanagedObject  )  [protected, virtual]
 

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.