Add a new record.

The Identity value will only be retrieved from the database if an Identity field has been added. This value will also be used to update the Identity field's value upon execution.

Syntax

ISUpdateQueryBuilder.ExecuteAddNew([identity], [timeoutSeconds], [ignoreDuplicateCodeException])

Parameters

NameTypeOptionalByRefDescription
identity Integer Optional ByRef The Identity value returned from the database upon adding the record. If omitted, a value of 0 is assumed.
timeoutSeconds Integer Optional The number of seconds after which a database connection timeout will occur or -1 to use the default timeout. If omitted, a value of -1 is assumed.
ignoreDuplicateCodeException Boolean Optional If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISUpdateQueryBuilder
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0