Class FormElementApiOptions
- Namespace
- JJMasterData.Core.DataDictionary.Models
- Assembly
- JJMasterData.Core.dll
public class FormElementApiOptions
- Inheritance
-
FormElementApiOptions
- Inherited Members
Properties
ApplyUserIdOn
Always apply UserId (from login) as filter or on set
[JsonProperty("applyUserIdOn")]
[Display(Name = "Apply User Id On")]
public string? ApplyUserIdOn { get; set; }
Property Value
EnableAdd
Add new records. POST Verb.
[JsonProperty("enableAdd")]
public bool EnableAdd { get; set; }
Property Value
EnableDel
Delete a record. DEL Verb.
[JsonProperty("enableDel")]
public bool EnableDel { get; set; }
Property Value
EnableGetAll
Get all records. GET Verb.
[JsonProperty("enableGetAll")]
public bool EnableGetAll { get; set; }
Property Value
EnableGetDetail
Get a record detail. GET Verb.
[JsonProperty("enableGetDetail")]
public bool EnableGetDetail { get; set; }
Property Value
EnableUpdate
Update records. PUT Verb.
[JsonProperty("enableUpdate")]
public bool EnableUpdate { get; set; }
Property Value
EnableUpdatePart
Update some specifics fields. PATCH Verb ,
[JsonProperty("enableUpdatePart")]
public bool EnableUpdatePart { get; set; }
Property Value
JsonFormatting
[JsonProperty("formatType")]
[Display(Name = "Json Formatting")]
public ApiJsonFormatting JsonFormatting { get; set; }
Property Value
Methods
DeepCopy()
public FormElementApiOptions DeepCopy()
Returns
GetJsonFieldName(string)
public string GetJsonFieldName(string fieldName)
Parameters
fieldName
string
Returns
- string
The field name according to the JsonFormatting property.
HasGetMethod()
public bool HasGetMethod()
Returns
HasMethod()
public bool HasMethod()
Returns
HasSetMethod()
public bool HasSetMethod()