EntityDAC

TEntity.ToKey Method

The method is designed for filling the specified key with the entity key value.

Class

TEntity

Syntax

procedure ToKey(Key: TCustomKey);

Parameters
Key
The key to be filled.

Remarks

The method fills the specified key with the entity key value. The specified key has to be of the same meta-type as the entity. Otherwise, the exception will be raised. To set the entity key with a key value, the FromKey method is used.

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback