Class RecipeArrayOp
Merge modes for an array RecipeNode (value of arrayOp).
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public static class RecipeArrayOp
Fields
Append
The nodes are appended after the existing elements; nothing is removed.
Declaration
public const string Append = "append"
Field Value
| Type | Description |
|---|---|
| string |
Replace
Default: the array is set to exactly the nodes given (existing elements discarded).
Declaration
public const string Replace = "replace"
Field Value
| Type | Description |
|---|---|
| string |
UpsertById
Each node updates the existing element whose arrayKey field matches, or is appended when no element matches.
Declaration
public const string UpsertById = "upsertById"
Field Value
| Type | Description |
|---|---|
| string |