SDAC

TMSDataSetOptions.QueryIdentity Property

Used to specify whether to request the Identity field value on execution of the Insert or Append method.

Class

TMSDataSetOptions

Syntax

property QueryIdentity: boolean default True;

Remarks

Specifies whether to request the Identity field value, if such exists, on execution the Insert or Append method. If you don't request Identity, you can have an impact on performance of Insert or Append for about 20%. Affects only the TCustomMSDataSet.CursorType cursor. If you insert a value into the SQL_VARIANT field and QueryIdentity is True, then EOLEDBError raised. The default value is True.

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