Update Method (Dir)
- Last UpdatedNov 06, 2025
- 1 minute read
The Update() method updates all columns for the specified directory record in the Dir table.
public static void Update(
int sessionId,
int entId,
int seqNo,
string directory,
string lastEditComment,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- entId
- Required. Holds the ID of the entity with which the directory is associated.
- seqNo
- Required. Holds the sequence number with which the directory is associated.
- directory
- Required. Holds the directory name, without the final backslash (\).
- lastEditComment
- Required. Holds comments about why this record is being updated.
- lastEditAt
Required. Holds the date/time when this record was added or last edited, for optimistic concurrency control. The passed value must match the lastEditAt value in the record for the update to succeed.
Output. Holds the date/time value when this record was updated by this called method.