Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

16.5.9 HiRDBProviderFactory

Organization of this subsection
(1) Constructor
(2) Fields
(3) Properties
(4) Methods

(1) Constructor

(a) HiRDBProviderFactory

HiRDBProviderFactory()

Description: Initializes a new instance of the HiRDBProviderFactory class.

(2) Fields

(a) Instance

Type: HiRDBProviderFactory

Description: Holds an instance of HiRDBProviderFactory (read only).

(3) Properties

(a) CanCreateDataSourceEnumerator

Type: bool

Description: Indicates whether a class derived from the DbDataSourceEnumerator class is to be supported (read only). If it is supported, the value is true; if not, the value is false.

(4) Methods

(a) CreateCommand

DbCommand CreateCommand ()

Return: HiRDBCommand object

Description: Creates and returns the HiRDBCommand object.
(b) CreateCommandBuilder

DbCommandBuilder CreateCommandBuilder ()

Return: HiRDBCommandBuilder object

Description: Creates and returns a HiRDBCommandBuilder object.
(c) CreateConnection

DbConnection CreateConnection ()

Return: HiRDBConnection object

Description: Creates and returns a HiRDBConnection object.
(d) CreateConnectionStringBuilder

DbConnectionStringBuilder CreateConnectionStringBuilder ()

Return: DbConnectionStringBuilder object

Description: Creates and returns a DbConnectionStringBuilder object.
(e) CreateDataAdapter

DbDataAdapter CreateDataAdapter ()

Return: HiRDBDataAdapter object

Description: Creates and returns a HiRDBDataAdapter object.
(f) CreateDataSourceEnumerator

DbDataSourceEnumerator CreateDataSourceEnumerator ()

Return: There is no return value because an exception always occurs.

Description: This member is not supported because no HiRDB enumeration type is provided. It returns NotSupportedException unconditionally.

Exception: System.NotSupportedException
(g) CreateParameter

DbParameter CreateParameter ()

Return: HiRDBParameter object

Description: Creates and returns a HiRDBParameter object.