Hierarchy

Implements

Index

Constructors

constructor

  • new StiDatabase(name?: string, alias?: string, key?: string): StiDatabase
  • Parameters

    • Default value name: string = ""
    • Default value alias: string = null
    • Default value key: string = null

    Returns StiDatabase

Properties

alias

alias: string

allowException

allowException: boolean = true

connectedEvent

connectedEvent: StiEvent = new StiEvent()

connectingEvent

connectingEvent: StiEvent = new StiEvent()

disconnectedEvent

disconnectedEvent: StiEvent = new StiEvent()

disconnectingEvent

disconnectingEvent: StiEvent = new StiEvent()

inherited

inherited: boolean = false

key

key: string = null

name

name: string

Accessors

connectionType

properties

serviceCategory

  • get serviceCategory(): string

serviceEnabled

  • get serviceEnabled(): boolean
  • set serviceEnabled(value: boolean): void
  • Gets or sets the value whether a service is enabled or not.

    Returns boolean

  • Gets or sets the value whether a service is enabled or not.

    Parameters

    • value: boolean

    Returns void

serviceInfo

  • get serviceInfo(): string

serviceName

  • get serviceName(): string
  • set serviceName(value: string): void

serviceType

  • get serviceType(): Type

сanBeTypeChangeResult

  • get сanBeTypeChangeResult(): boolean
  • Returns boolean

Methods

applyDatabaseInformation

as

clone

  • clone(cloneProperties?: boolean, cloneComponents?: boolean, base?: boolean): StiDatabase
  • Parameters

    • Default value cloneProperties: boolean = true
    • Default value cloneComponents: boolean = true
    • Default value base: boolean = true

    Returns StiDatabase

copyDataSourceFrom

createConnector

  • Returns new data connector for this database.

    Parameters

    • Default value connectionString: string = null

    Returns StiDataConnector

    Created connector.

getDataAdapter

getDataAdapterType

  • getDataAdapterType(): Type

getDatabaseInformation

getDatabaseInformationAsync

getDatasourceType

  • getDatasourceType(): Type

getKey

  • getKey(): string

getName

  • getName(): string

implements

  • implements(): any[]

invokeConnected

  • invokeConnected(): void
  • Returns void

invokeConnecting

  • invokeConnecting(): void
  • Returns void

invokeDisconnected

  • invokeDisconnected(): void
  • Returns void

invokeDisconnecting

  • invokeDisconnecting(): void
  • Returns void

is

is2

  • is2<T>(type: object | Interface<T>): boolean

Protected isPropertiesInitializedProtected

  • isPropertiesInitializedProtected(): boolean

isPropertyPresent

  • isPropertyPresent(key: any): boolean

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void

memberwiseClone

meta

Protected onConnected

Protected onConnecting

Protected onDisconnected

Protected onDisconnecting

regData

  • Parameters

    Returns void

regDataAsync

saveToJsonObject

setKey

  • setKey(key: string): void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc