Update(Int32,Int32,Int32,Boolean,DBString,Boolean,DateTime) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The Update() method updates all columns of the specified group/entity link record in the Grp_Ent_Link table.
'Declaration
Public Overloads Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal grpId As Integer, _
ByVal entId As Integer, _
ByVal access As Boolean, _
ByVal lastEditComment As DBString, _
ByVal propagateToChildEnts As Boolean, _
ByRef lastEditAt As Date _
)
public static void Update(
int sessionId,
int grpId,
int entId,
bool access,
DBString lastEditComment,
bool propagateToChildEnts,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- grpId
- Required. Holds ID of the user group.
- entId
- Required. Holds the ID of the entity.
- access
- Required. Holds a flag that, if set to true, specifies that the members of this user group may log onto this entity.
- lastEditComment
- Required. Holds comments that describe why this record is being updated.
- propagateToChildEnts
- Optional. Holds a flag that, if set to true, specifies that the access will propagate to the child entities.
- lastEditAt
Optional. Holds the date/time when this record was added or last updated, for optimistic concurrency control. If it is specified, the passed value must match the lastEditAt value in the record for the update to succeed.
Output. Holds the date/time value when the record was updated by this called method.