EntityDAC

TEntity.ToKey

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

Unit

Syntax

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-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback