Add Method (Dir)
- Last UpdatedNov 06, 2025
- 1 minute read
The Add() method adds a directory record for an entity to the Dir table.
public static void Add(
int sessionId,
int entId,
int seqNo,
string directory,
string lastEditComment,
out 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
- Optional. Holds comments about why this record is being added.
- lastEditAt
Output. Holds the returned date/time when this record was created. The lastEditAt parameter is used in other methods that modify or delete this record for optimistic concurrency control.