tablestore-class
Represetns storage of tables.
public class Korzh.EasyQuery.Db.TableStore
: TableList
Assembly: Korzh.EasyQuery.Db.dll
Constructors
Name | Type | Description |
---|---|---|
TableStore(DbModel model) | void | Initializes a new instance of the TablesStorage class. |
Methods
Name | Type | Description |
---|---|---|
AddDbTable(string name, string alias, string schema) | DbTable | Adds table with passed parameters if such does not exist. |
AddDbTable(string name, string alias, string schema, string dbName) | DbTable | Adds table with passed parameters if such does not exist. |
ClearItems() | void | Removes all elements from the System.Collections.ObjectModel.Collection . |
InsertItem(int index, Table item) | void | Inserts an element into the |
ReadFromJsonAsync(JsonReader reader, CancellationToken ct = null) | Task | Reads the list of tables from JSON (asynchronous way). |
RemoveItem(int index) | void | Removes the element at the specified index of the System.Collections.ObjectModel.Collection'1 . |
WriteToJsonAsync(JsonWriter writer, CancellationToken ct = null) | Task | Writes the list of tables to JSON (asynchronous way). |