EntityDAC

TDataContext Members

TDataContext class overview.

Properties

Name Description

Connection (inherited from TCustomContext)

Identifies the connection component with which the data context is associated.

Dialect (inherited from TCustomContext)

Indicates the current SQL dialect used by the connection data provider.

Model (inherited from TCustomContext)

Specifies the meta model used by the data context.

ModelName (inherited from TCustomContext)

Specifies the name of the meta model used by the data context.

Options (inherited from TCustomContext)

The property allows setting up the behavior of the TCustomContext class.

Types

The property is designed to determine a meta-type by a meta-type name.

Methods

Name Description

Create (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

ExecuteQuery<T> (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

ExecuteSQL (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

RejectChanges

The method is designed to cancel changes in all attached entities

SubmitChanges

The method is designed for saving changes in all attached entities.

Events

Name Description

OnGetGeneratorValue (inherited from TCustomContext)

Occurs when an entity attribute value generator of type “custom” needs to generate its value.
© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback