Class SqlCommandAction
- Namespace
- JJMasterData.Core.DataDictionary.Models.Actions
- Assembly
- JJMasterData.Core.dll
public sealed class SqlCommandAction : UserCreatedAction, ISubmittableAction
- Inheritance
-
SqlCommandAction
- Implements
- Inherited Members
Constructors
SqlCommandAction()
public SqlCommandAction()
Properties
ApplyOnSelected
Aplicar somenter as linhas selecionadas (default=false)
[JsonProperty("applyOnSelected")]
[Display(Name = "Apply only on selected lines")]
public bool ApplyOnSelected { get; set; }
Property Value
Remarks
Valido somente para contexto da toolbar, onde o comando é aplicado para cada linha selecionada
IsSubmit
[JsonProperty("isSubmit")]
[Display(Name = "Is Submit")]
public bool IsSubmit { get; set; }
Property Value
RedirectUrl
Redirects to this URL after the command is executed successfully.
[JsonProperty("redirectUrl")]
[Display(Name = "Redirect Url")]
public string? RedirectUrl { get; set; }
Property Value
SqlCommand
Comando SQL a ser executado, aceita expression
[JsonProperty("commandSQL")]
public string SqlCommand { get; set; }
Property Value
Methods
DeepCopy()
public override BasicAction DeepCopy()