Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Server-Side Commands
Every entity type in Nexudus can have server-side commands — special operations that go beyond standard CRUD. The SDK lets you discover available commands and execute them with or without parameters.Discover available commands
UseGetCommandsAsync to list all commands available for an entity type:
CommandInfo properties
| Property | Type | Description |
|---|---|---|
Key | string | The unique identifier used when running the command. |
Name | string | Human-readable command name. |
NeedsEntitiesToRun | bool | Whether the command requires entity IDs. |
AppliesOnlyToOneEntity | bool | Whether the command can only target a single entity. |
RequiresParameters | List<CommandParameter> | Parameters the command accepts. |
Run a command on one entity
Run a command on multiple entities
Run a command with parameters
Some commands require additional parameters. Build a list ofCommandParameter objects:
CommandParameter properties
| Property | Type | Description |
|---|---|---|
Name | string | The parameter name as defined by the command. |
Type | string | The parameter type (string, int, datetime, etc). |
Value | string | The parameter value, serialised as a string. |