StiOracleConnector Class
Namespace: Stimulsoft.Base
Inheritance
Inherits from: StiSqlDataConnector
Constructors
| Constructor | Description |
|---|---|
| StiOracleConnector(string connectionString) |
StiOracleConnector(connectionString: string)
Parameters
- connectionString (string)
Properties
| Property | Type | Description |
|---|---|---|
AllowDevart static |
bool |
Methods
| Method | Returns | Description |
|---|---|---|
| CreateParameter (+1 overloads) | DbParameter | Returns new SQL parameter with specified parameter. |
Get static |
StiOracleConnector | |
| GetDatabaseSpecificName | string | Bracketing string with specials characters |
| GetFamilyConnectors | StiDataConnector[] | Return an array of the data connectors which can be used also to access data for this type of the connector. |
| GetNetType (+1 overloads) | Type | Returns a .NET type from the specified string representaion of the database type. |
| GetSampleConnectionString | string | Returns sample of the connection string to this connector. |
| GetSqlType | int | Returns a SQL based type from the .NET type. |
LoadClientConnector static |
StiOracleClientConnector | |
LoadDevartConnector static |
StiOracleDevartConnector | |
LoadGenericConnector static |
StiOracleConnector | |
LoadManagedConnector static |
StiOracleManagedConnector | |
| ResetSettings | void | |
| RetrieveSchema | StiDataSchema | Returns schema object which contains information about structure of the database. Schema returned start at specified root element (if it applicable). |
Method Details
CreateParameter
CreateParameter(parameterName: string, value: object, size: int): DbParameter
Returns new SQL parameter with specified parameter.
Parameters
- parameterName (string)
- value (object)
- size (int)
Returns DbParameter
CreateParameter(parameterName: string, type: int, size: int): DbParameter
Returns new SQL parameter with specified parameter.
Parameters
- parameterName (string)
- type (int)
- size (int)
Returns DbParameter
Get static
Get(connectionString: string): StiOracleConnector
Parameters
- connectionString (string)
Returns StiOracleConnector
GetDatabaseSpecificName
GetDatabaseSpecificName(name: string): string
Bracketing string with specials characters
Parameters
- name (string) — unput string
Returns string — Bracketed string
GetFamilyConnectors
GetFamilyConnectors(): StiDataConnector[]
Return an array of the data connectors which can be used also to access data for this type of the connector.
Returns StiDataConnector[]
GetNetType
GetNetType(dbType: int): Type
Returns a .NET type from the specified string representaion of the database type.
Parameters
- dbType (int)
Returns Type
GetNetType(dbType: string): Type
Returns a .NET type from the specified string representaion of the database type.
Parameters
- dbType (string)
Returns Type
GetSampleConnectionString
GetSampleConnectionString(): string
Returns sample of the connection string to this connector.
Returns string
GetSqlType
GetSqlType(type: Type): int
Returns a SQL based type from the .NET type.
Parameters
- type (Type)
Returns int
LoadClientConnector static
LoadClientConnector(connectionString: string): StiOracleClientConnector
Parameters
- connectionString (string)
Returns StiOracleClientConnector
LoadDevartConnector static
LoadDevartConnector(connectionString: string): StiOracleDevartConnector
Parameters
- connectionString (string)
Returns StiOracleDevartConnector
LoadGenericConnector static
LoadGenericConnector(connectionString: string): StiOracleConnector
Parameters
- connectionString (string)
Returns StiOracleConnector
LoadManagedConnector static
LoadManagedConnector(connectionString: string): StiOracleManagedConnector
Parameters
- connectionString (string)
Returns StiOracleManagedConnector
ResetSettings
ResetSettings(): void
RetrieveSchema
RetrieveSchema(allowException: bool): StiDataSchema
Returns schema object which contains information about structure of the database. Schema returned start at specified root element (if it applicable).
Parameters
- allowException (bool)
Returns StiDataSchema