AddDefaultEditors() | void | Adds the default value editors. |
AddDefaultOperators() | void | Adds the default operators into model |
AddEntityAttr(EntityAttrDescriptor desc) | EntityAttr | Adds a new attribute to the model. |
AddOperatorToAllRelevantAttributes(Operator operatr) | void | Adds the operator to all suitable (by data type) attributes. |
AddOperatorToEntity(Operator op, Entity ent) | void | Adds the operator to all suitable attributes in specified entity. |
AddOperatorToSuitedAttributes(Operator operatr) | void | |
AddUpdateOperator(string id, string caption, string expr, string format, DataKind kind = 0, OperatorGroup group = null) | Operator | Adds or update an operator. |
Clear() | void | Clears this instance. |
Clone() | DataModel | Clones the model object |
CreateEntity(Entity parentEntity = null) | Entity | Creates the entity. |
CreateEntityAttr(EntityAttrDescriptor desc) | EntityAttr | Creates the entity attribute. Used for creating entity attributes while building the model |
CreateEntityAttrCore(MetaEntity parent, EntityAttrKind kind) | MetaEntityAttr | |
CreateEntityCore(MetaEntity parent) | MetaEntity | |
CreateNullOperator() | Operator | Creates the null operator. U |
CreateOperator() | Operator | Creates the operator. Used for creating objects while building the model |
CreateOperator(string id, string caption, string expr, string format) | Operator | Creates the operator. Used for creating objects while building the model |
CreateQuery(Query parentQuery = null) | Query | Creates a Query object associated with this model |
CreateRootEntity() | Entity | Creates the root entity. This method can be overriden in descendant classes to retrun the object of appropriate class (e.g. DbEntity). |
CreateRootEntityCore() | MetaEntity | |
DeleteOperatorFromEntity(Entity ent, Operator op) | void | Deletes the operator from any attribute of specified entity (and all its sub-entities). |
EnsureEditorExistance(ValueEditor editor) | void | Ensures the existance of value editor. |
FindEntity(string entityName) | Entity | Finds an entity by its name. |
FindEntityAttr(string attrDef) | EntityAttr | Finds the entity attribute. |
GetAttributeById(string attrID, bool useNullAttr) | EntityAttr | |
GetDefaultOperatorsForDataType(DataType dataType) | OperatorList | Returns the list of default operators for some data type |
GetMacroValue(string macroId) | IMacroValue | Gets the value of the macro by its ID. |
ListDefaultOperatorsForDataType(OperatorList operats, DataType dataType) | void | Fills the list with default operators for some data type |
LoadFromXmlFile(string filePath) | void | Loads data model from XML file. |
LoadFromXmlFile(string filePath, BitOptions options) | void | Loads data model from XML file. |
LoadFromXmlReader(XmlReader reader) | void | Loads data model from XML reader. |
LoadFromXmlReader(XmlReader reader, BitOptions options) | void | Loads data model from XML reader. |
LoadFromXmlStream(Stream stream) | void | Loads data model from XML stream. |
LoadFromXmlStream(Stream stream, BitOptions options) | void | Loads data model from XML stream. |
LoadFromXmlString(string xml) | void | Loads data model from XML string. |
LoadFromXmlString(string xml, BitOptions options) | void | Loads data model from XML string. |
MergeEntities(Entity destination, Entity[] sources) | void | Merges source entities in destination entity and removes them |
OnAggrFuncListChanged() | void | Raises the AggrFuncListChanged event. |
OnDocketRequest(MacroRequestEventArgs e) | bool | Raises the MacroRequest event. |
OnModelLoaded() | void | |
ReadOneModelPropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct) | Task | Reads one model property from JSON (asynchronous way). |
RefillAggrFunctionList() | void | Refills the list of aggregate functions. |
RefreshResources() | void | Re-loads the string values from Korzh.EasyQuery.DataModel.Texts list. |
SaveToXmlFile(string filePath) | void | Saves data model XML to file. |
SaveToXmlFile(string path, BitOptions options) | void | Saves data model XML to file. |
SaveToXmlStream(Stream stream) | void | Saves data model XML to stream. |
SaveToXmlStream(Stream stream, BitOptions options) | void | Saves data model XML to stream. |
SaveToXmlString() | string | Saves data model XML specification to string object. |
SaveToXmlString(BitOptions options) | string | Saves data model XML specification to string object. |
SaveToXmlWriter(XmlWriter writer) | void | Saves data model specification using XmlWriter. |
SaveToXmlWriter(XmlWriter writer, BitOptions options) | void | Saves data model specification using XmlWriter. |
UpdateOperatorsTexts() | void | Loads the text for all default operators from resources. |
UpdateOperatorTexts(Operator op) | void | Loads the texts for one operator from resources (Texts storage actually) |
Validate() | void | Validates this model and throws an exception if something is wrong. |
ValidateEntityAttrDesc(MetaEntityAttrDescriptor desc) | void | |
WriteContentToJsonAsync(JsonWriter writer, BitOptions options, CancellationToken ct) | Task | Writes the main content of the model to JSON (asynchronous way). |
WriteModelPropsToJsonAsync(JsonWriter writer, BitOptions options, CancellationToken ct) | Task | |