void | AddDefaultEditors() | Adds the default value editors. |
void | AddDefaultOperators() | Adds the default operators into model |
void | AddOperatorToEntity(Operator op, Entity ent) | Adds the operator to all suitable attributes in specified entity. |
void | AddOperatorToSuitedAttributes(Operator op) | Adds the operator to all suitable (by data type) attributes. |
Operator | AddUpdateOperator(String id, String caption, String expr, String format, DataKind kind = Scalar, OperatorGroup group = null) | Adds or update an operator. |
void | AssignEntityAttrID(EntityAttr attr) | Assigns the default ID for entity attribute. |
void | Clear() | Clears this instance. |
DataModel | Clone() | |
Entity | CreateEntity() | Creates the entity. |
EntityAttr | CreateEntityAttr() | Creates the entity attribute. Used for creating entity attributes while building the model |
EntityAttr | CreateGhostAttribute(String id) | |
EntityAttr | CreateNullAttribute() | Creates the Null attribute. |
Operator | CreateNullOperator() | Creates the null operator. U |
Operator | CreateOperator() | Creates the operator. Used for creating objects while building the model |
Operator | CreateOperator(String id, String caption, String expr, String format) | Creates the operator. Used for creating objects while building the model |
Entity | CreateRootEntity() | Creates the root entity. This method can be overriden in descendant classes to retrun the object of appropriate class (e.g. DbEntity). |
void | DeleteOperator(Operator op) | Deletes the operator from the model. |
void | DeleteOperatorFromEntity(Entity ent, Operator op) | Deletes the operator from any attribute of specified entity (and all its sub-entities). |
void | EnsureEditorExistance(ValueEditor editor) | Ensures the existance of value editor. |
Entity | FindEntity(String entityName) | Finds an entity by its name. |
EntityAttr | FindEntityAttr(String attrDef) | Find attribute either by its ID, expression or caption. |
EntityAttr | GetAttributeByID(String attrID, Boolean useNullAttr) | Gets the attribute by its ID. |
OperatorList | GetDefaultOperatorsForDataType(DataType dataType) | Returns the list of default operators for some data type |
EntityAttr | GetDefaultUICAttribute() | Returns the first attribute in the Root entity with UseInConditions set to true. This attribute is shown by default for new condition. |
EntityAttr | GetDefaultUIRAttribute() | Returns the first attribute in the Root entity with UseInResult set to true. This attribute is shown by default for new column. |
EntityAttr | GetDefaultUIRAttribute(Boolean needUseInSorting) | Returns the first attribute in the Root entity with UseInResult set to true. This attribute is shown by default for new column. |
IMacroValue | GetMacroValue(String macroId) | Gets the value of macro by its ID. |
Int32 | GetNextEntityAttrID() | Gets the next free number for building virtual entity attribute ID. |
void | IncreaseModelVersion() | Increases the model version. |
void | InitModelLoading() | Inits the model loading. |
void | ListDefaultOperatorsForDataType(OperatorList operats, DataType dataType) | Fills the list with default operators for some data type |
void | LoadFromFile(String path) | Loads data model from file. |
void | LoadFromFile(String path, RWOptions rwOptions) | Loads data model from file. |
void | LoadFromStream(Stream stream) | Loads data model from stream. |
void | LoadFromStream(Stream stream, RWOptions rwOptions) | Loads data model from stream. |
void | LoadFromString(String xml, RWOptions rwOptions) | Loads data model from string. |
void | LoadFromString(String xml) | Loads data model from string. |
void | LoadFromXmlReader(XmlReader reader) | Loads data model from XML reader. |
void | LoadFromXmlReader(XmlReader reader, RWOptions rwOptions) | Loads data model from XML reader. |
void | LoadModelAtrributesFromXmlReader(XmlReader reader) | Loads data model’s attributes from the main XML node (DataModel) |
void | LoadNode(XmlReader reader, RWOptions rwOptions) | Loads the root node of the model. Can be overriden for loading additional root nodes in Korzh.EasyQuery.DataModel’s descendants |
void | LoadOneModelAtrributeFromXmlReader(XmlReader reader) | Processes one data model’s attribute from the main XML node (DataModel) |
String | LoadValueEditorNode(ValueEditor editor, XmlReader reader) | Loads the value editor definition from XML. |
void | OnAggrFuncListChanged() | Raises the AggrFuncListChanged event. |
Boolean | OnMacroRequest(MacroRequestEventArgs e) | Raises the MacroRequest event. |
void | OnModelChanged() | Called after the model has been changed. Raises ModelChanged event if defined. |
void | OnModelLoaded() | Called when the model is loaded (from XML file or string). |
void | RefillAggrFunctionList() | Refills the list of aggregate functions. |
void | RefreshResources() | Re-loads the string values from Korzh.EasyQuery.DataModel.Texts list. |
void | SaveAttributes(XmlWriter writer, RWOptions options) | Saves the attributes of the model. Can be overriden for storing additional attributes |
void | SaveCustomInfoNode(XmlWriter writer) | Saves the custom info node. |
void | SaveNodes(XmlWriter writer, RWOptions options) | Saves the root nodes of the model. Can be overriden for storing additional nodes |
void | SaveToFile(String path) | Saves data model to file. |
void | SaveToFile(String path, RWOptions options) | Saves data model to file. |
JsonDict | SaveToJsonDict() | Saves the model into Dictionary object. Useful for JSON serialization. |
void | SaveToStream(Stream stream) | Saves data model XML to stream. |
void | SaveToStream(Stream stream, RWOptions options) | Saves data model XML to stream. |
String | SaveToString() | Saves data model specification to string object. |
String | SaveToString(RWOptions options) | Saves data model specification to string object. |
void | SaveToXmlWriter(XmlWriter writer) | Saves data model specification using XmlWriter. |
void | SaveToXmlWriter(XmlWriter writer, RWOptions options) | Saves data model specification using XmlWriter. |
void | SetProgress(Int32 pos) | Set the progress to the specified position. |
void | SetProgressMinMax(Int32 min, Int32 max) | Sets the minimum and maximum of progress indicator. |
void | SortEntities() | Sorts all entities and their attributes alphabetically. |
void | SortEntityContent(Entity entity) | Sorts the content of one entity alphabetically. This function is called by Korzh.EasyQuery.DataModel.SortEntities method |
void | UpdateOperatorsTexts() | Loads the text for all default operators from resources. |
void | UpdateOperatorTexts(Operator op) | Loads the texts for one operator from resources (Texts storage actually) |