AddMany Method
- Last UpdatedNov 06, 2025
- 1 minute read
The AddMany() method links a shift pattern to multiple entities.
'Declaration
Public Shared Sub AddMany( _
ByVal sessionId As Integer, _
ByVal patternId As Integer, _
ByVal entityIds() As Integer _
)
'Usage
Dim sessionId As Integer
Dim patternId As Integer
Dim entityIds() As Integer
ShiftPatternEntLink.AddMany(sessionId, patternId, entityIds)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- patternId
- Required. Holds the ID of the shift pattern that is being linked.
- entityIds
- Required. Holds the list of IDs of the entities that are being linked.