Click or drag to resize

ReportModel Methods

The ReportModel type exposes the following members.

Methods
 NameDescription
Public methodBuildQuery Build the SQL for the model
Public methodCancelCommand Cancel the model execution
Public methodCheckChartJSIntegrity Check ChartJS and set the ExecChartJSType property
Public methodCheckEChartsChartIntegrity Check ECharts Chart and set the ExecEChartsChartType property
Public methodCheckPlotlyChartIntegrity Check Plotly Chart and set the ExecPlotlyChartType property
Public methodCheckScottPlotChartIntegrity Check ScottPlot and set the ExecScottPlotChartType property
Public methodCheckSortOrders Force sort orders on Page elements
Public methodStatic memberClearCommonRestrictions Clear Common Restrictions from a SQL
Public methodClearLostElements Delete elements and restrictions with no source reference
Public methodStatic memberCreate Creates a default report model
Public methodEnumDisplayValue Translate the enum using the Enum context
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecuteLoadScript Execute custom Razor script for the model: Pre Load, Post Load and Final
Public methodFillResultTableAsync Build the ResultTable for the model
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetElements List of elements per position
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNavigation HTML Navigation for the report result
Public methodGetRestrictionByName Returns a model restriction from its name
Public methodGetResultTableTranslatedJson Json string for the result table with an additional Json containing aggregation. When maxRows is positive, only the first maxRows rows are serialized (the aggregation Json still covers all rows) — use it to bound the payload when the result is sent to an AI model.
Public methodGetResultTableValue Return a result table value from a column name
Public methodGetSplitterElements List of splitter elements per axis type
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXElements List of elements per type of axis
Public methodInit Init the editor objects
(Inherited from RootEditor)
Public methodInitCommonRestrictions Init all Common Restrictions of the model and build the CommonRestrictions property
Public methodInitDefaultValues Init the default values
(Inherited from RootEditor)
Public methodInitEditor Init the editor objects and the default values
(Inherited from RootEditor)
Public methodInitFromReferenceModel Initializes the model its reference model
Public methodInitReferences Init all model references: Elements, Restrictions, etc.
Public methodInitRestrictionsFromReferenceModel Initializes the model restrictions from a reference model
Public methodInvertDataTables Invert the rows and the columns of all DataTables of the pages generated
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParseCommonRestrictions Parse and replace Common Restrictions in SQL by their values
Public methodRefreshMetaTable Initialize the MetaTable for a SQL Model
Public methodSetColumnsName Set column names for the elements before building the SQL
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEditor Update editor attributes
(Inherited from RootEditor)
Protected methodUpdateEditorAttributes Refresh properties attrivutes
(Inherited from RootEditor)
Public methodUpdateFinalSortOrders Update the final sort orders
Top
See Also