EntityDAC

TCustomContext.OnGetGeneratorValue Event

Occurs when an entity attribute value generator of type "custom" needs to generate its value.

Class

TCustomContext

Syntax

property OnGetGeneratorValue: TGetGeneratorValueEvent;

Remarks

Write the event handler to implement the algorithm of generating the next value of an entity attribute for which the "custom" generator is defined.

Parameters:

Attribute

Specifies the corresponding meta-attribute.

Value

Specifies the variable in which the next value has to be returned.

Success

Should be set to True if the value has been generated successfully.

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