EntityDAC

TEntityConnection Members

TEntityConnection class overview.

Properties

Name Description

Connected

Determines whether a connection has been established.

ConnectionString

Specifies the connection parameters for the connection.

DefaultModel

Specifies the default meta model for all associated data contexts.

DefaultModelName

Specifies the name of the default meta model for all associated data contexts.

Dialect

Specifies the current SQL dialect used by the data provider.

DialectName

Specifies the name of the current SQL dialect used by the data provider.

InTransaction

Indicates whether a transaction is already in progress.

LoginPrompt

Specifies whether a login dialog appears immediately before opening a new connection.

Provider

Defines the current data provider used for establishing a connection.

ProviderName

Specifies the name of the current data provider used for establishing a connection.

Methods

Name Description

CommitTransaction

Commits the current transaction.

Connect

Overloaded.Description is not available at the moment.

CreateDatabase

Create all database objects for the specified meta model.

Disconnect

Closes the connection.

DropDatabase

Drop all database objects used by the specified meta model.

ExecuteCursor

Overloaded.Description is not available at the moment.

ExecuteSQL

Overloaded.Description is not available at the moment.

RollbackTransaction

Discards all current data changes and ends transaction.

StartTransaction

Initiates a new transaction in the associated database.

Events

Name Description

AfterConnect

Occurs immediately after establishing a connection.

AfterDisconnect

Occurs immediately after closing a connection.

BeforeConnect

Occurs just before establishing a connection.

BeforeDisconnect

Occurs just before closing a connection.
© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback