TXDataBaseModule.SetEntitySetPermissions Method
Defines the operations allowed on an entity set.
Remarks
Only the operations included in the set have their automatic CRUD endpoints published.
Syntax
Unit: XData.Module.Base
procedure TXDataBaseModule.SetEntitySetPermissions(const EntitySetName: string; Permissions: TEntitySetPermissions);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | EntitySetName | string | The name of the entity set, compared case-insensitively. Pass * to set the default permissions applied to all entity sets that were not given their own permissions. |
| Permissions | TEntitySetPermissions | The operations to allow on the entity set. |