Validates that a Record Id is valid and checks that it does not already exist in the Database.

Syntax

ISDatabaseBL.RecordIdValidate(propertyName, tableName, fieldName, id, pk)

Parameters

NameTypeOptionalByRefDescription
propertyName String A Description of the property which is being checked, e.g. BranchId.
tableName String The Table Name containing the records.
fieldName String The Field Name.
id String The Record Id to check.
pk Integer The Primary Key of the existing record so that this can be excluded from the check.

Return Value

Boolean

A Boolean value indicating success.

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