StiMySqlDevartConnector Class

Namespace: Stimulsoft.Base

Inheritance

Inherits from: StiMySqlConnector

Constructors

Constructor Description
StiMySqlDevartConnector(string connectionString)  

StiMySqlDevartConnector(connectionString: string)

Parameters

  • connectionString (string)

Methods

Method Returns Description
CreateConnection DbConnection Returns new connection to this type of the database.
DeriveParameters void Retrieves SQL parameters for the specified command.
GetNetType 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.
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

CreateConnection

CreateConnection(): DbConnection

Returns new connection to this type of the database.

Returns DbConnection — Created connection.


DeriveParameters

DeriveParameters(command: DbCommand): void

Retrieves SQL parameters for the specified command.

Parameters

  • command (DbCommand)

GetNetType

GetNetType(dbType: int): Type

Returns a .NET type from the specified string representaion of the database type.

Parameters

  • dbType (int)

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


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