Class JsonDataModule
JSON contract for a DataModule used by Tripous Web.
public class JsonDataModule
- Inheritance
-
JsonDataModule
- Inherited Members
- Extension Methods
Constructors
JsonDataModule()
Constructor.
public JsonDataModule()
JsonDataModule(DataModule)
Constructor.
public JsonDataModule(DataModule Source)
Parameters
SourceDataModule
Properties
CascadeDeletes
True when deletes should cascade from details to master.
public bool CascadeDeletes { get; set; }
Property Value
ClassName
The module class name.
public string ClassName { get; set; }
Property Value
ConnectionName
The connection name.
public string ConnectionName { get; set; }
Property Value
DataSet
The data set.
public JsonDataSet DataSet { get; set; }
Property Value
Description
The module description.
public string Description { get; set; }
Property Value
Group
The module group.
public string Group { get; set; }
Property Value
GuidOids
True when key values are Guid strings.
public bool GuidOids { get; set; }
Property Value
IsSingleSelect
True when the module has a fixed single select.
public bool IsSingleSelect { get; set; }
Property Value
ItemCaptionField
The field used as item caption.
public string ItemCaptionField { get; set; }
Property Value
ItemTableName
The item table name.
public string ItemTableName { get; set; }
Property Value
ListTableName
The list table name.
public string ListTableName { get; set; }
Property Value
MainTableName
The main table name.
public string MainTableName { get; set; }
Property Value
Name
The module name.
public string Name { get; set; }
Property Value
QueryNames
The select query names.
public List<string> QueryNames { get; set; }
Property Value
SecurityLevel
The minimum security level required to access the module as a UserLevel integer value.
public int SecurityLevel { get; set; }
Property Value
State
The data module state as a DataMode integer value.
public int State { get; set; }
Property Value
StockNames
The stock table names.
public List<string> StockNames { get; set; }
Property Value
Title
The module title.
public string Title { get; set; }
Property Value
TitleKey
The module title localization key.
public string TitleKey { get; set; }
Property Value
UseFilters
True when filters should be used by UI.
public bool UseFilters { get; set; }
Property Value
Methods
ToJObject()
Converts this instance to a JSON object.
public JsonObject ToJObject()
Returns
ToJObject(DataModule)
Converts a data module to a JSON object.
public static JsonObject ToJObject(DataModule Source)
Parameters
SourceDataModule
Returns
ToJson()
Converts this instance to JSON text.
public string ToJson()