Table of Contents

Class SqlCommandAction

Namespace
JJMasterData.Core.DataDictionary.Models.Actions
Assembly
JJMasterData.Core.dll
public sealed class SqlCommandAction : BasicAction, ISubmittableAction
Inheritance
SqlCommandAction
Implements
Inherited Members

Constructors

SqlCommandAction()

public SqlCommandAction()

Properties

ApplyOnSelected

Aplicar somenter as linhas selecionadas (default=false)

[JsonPropertyName("applyOnSelected")]
[Display(Name = "Apply only on selected lines")]
public bool ApplyOnSelected { get; set; }

Property Value

bool

Remarks

Valido somente para contexto da toolbar, onde o comando é aplicado para cada linha selecionada

IsCustomAction

[JsonIgnore]
public override bool IsCustomAction { get; }

Property Value

bool

IsSubmit

[JsonPropertyName("isSubmit")]
[Display(Name = "Is Submit")]
public bool IsSubmit { get; set; }

Property Value

bool

RedirectUrl

Redirects to this URL after the command is executed successfully.

[JsonPropertyName("redirectUrl")]
[Display(Name = "Redirect Url")]
public string? RedirectUrl { get; set; }

Property Value

string

SqlCommand

Comando SQL a ser executado, aceita expression

[JsonPropertyName("commandSQL")]
public string SqlCommand { get; set; }

Property Value

string

Methods

DeepCopy()

public override BasicAction DeepCopy()

Returns

BasicAction