MyDAC

TMyDuplicateKeys Enumeration

Specifies the way conflicts with duplicated key values will be resolved.

Unit

MyLoader

Syntax

TMyDuplicateKeys = (dkNone, dkIgnore, dkReplace);

Values

Value Meaning
dkIgnore The new record with duplicated key value will be ignored silently.
dkNone An error will be raised and loading process will be stopped after an attempt to insert a record with already existing key value.
dkReplace The old record in database with duplicated key values will be silently replaced with the new one.

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