EntityDAC

TCustomEntityContext Members

TCustomEntityContext 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 (inherited from TDataContext)

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

Methods

Name Description

Attach

The method is designed for attaching an entity instance to the data context and storing it in the object cache

Cancel

The method is designed to cancel changes made in an entity instance.

Create (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

CreateAttachedEntity

Overloaded.Description is not available at the moment.

CreateAttachedEntity<T>

Overloaded.Description is not available at the moment.

CreateEntity

Overloaded.Description is not available at the moment.

CreateEntity<T>

Overloaded.Description is not available at the moment.

Delete

The method is designed for deleting an entity.

DeleteAndSave

The method is designed for permanent deleting an entity.

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.

GetEntities

Overloaded.Description is not available at the moment.

GetEntities<T>

Overloaded.Description is not available at the moment.

GetEntity

Overloaded.Description is not available at the moment.

GetEntity<T>

Overloaded.Description is not available at the moment.

IsAttached

The method is designed to check whether the specified entity is attached to the data context.

RejectChanges (inherited from TDataContext)

The method is designed to cancel changes in all attached entities

Save

The method is designed for saving changes made in an entity instance.

SubmitChanges (inherited from TDataContext)

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