AddEntityAttr(DbEntityAttrDescriptor desc) | DbEntityAttr | Adds a new attribute to the model. |
AssignEntityAttrID(MetaEntityAttr attr) | void | Assigns the default ID for entity attribute. |
Clear() | void | Clears this instance. |
CreateEntityAttr(DbEntityAttrDescriptor desc) | DbEntityAttr | Creates the entity attribute. Used for creating entity attributes while building the model |
CreateEntityAttrCore(MetaEntity entity, EntityAttrKind kind) | MetaEntityAttr | |
CreateNullOperator() | Operator | Creates the 'null' operator - a special operator which is used when a real operator can't be found (e.g. wrong ID) |
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 |
CreateTableAlias(DbTable fromTable, string aliasName, bool createEntity = True, string entityName = null, `Func`<[TableLink](/korzh-easyquery-db-namespace/tablelink-class), `bool`> linkFilter = null, `Func`<[DbEntityAttr](/korzh-easyquery-db-namespace/dbentityattr-class), `bool`> entityAttrFilter = null) | DbTable | Creates table alias from the table. |
OnModelChanged() | void | Called after the model has been changed. |
OnModelLoaded() | void | Called after the model has been loaded from some file or string. |
ReadOneModelPropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct) | Task | Reads one model property from JSON (asynchronous way). |
SetTableCategory(Table table, string categoryName) | bool | Sets the category of the table. Creates a new category if the specified one does not exist yet. |
UpdateTableCategories() | void | Updates the categories in tables (usually after the loading). |
ValidateEntityAttrDesc(MetaEntityAttrDescriptor desc) | void | |
WriteContentToJsonAsync(JsonWriter writer, BitOptions rwOptions, CancellationToken ct) | Task | Writes the content of DbMomdel to JSON (asynchronous way). |