Skip to content

LinkStore class

Represetns storage of links.

public class Korzh.EasyQuery.Db.LinkStore
: TableLinkList, IList<TableLink>, ICollection<TableLink>, IEnumerable<TableLink>, IEnumerable, IList, ICollection, IReadOnlyList<TableLink>, IReadOnlyCollection<TableLink>
TypeNameDescription
DbModelModelCurrent DbModel
TypeNameDescription
voidAddRange(IEnumerable<TableLink> links)Adds links
voidClearItems()Clears the items.
voidInsertItem(Int32 index, TableLink item)Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
voidReadFromJson(JsonReader reader)Reads the list of links from JSON.
TaskReadFromJsonAsync(JsonReader reader)Reads the list of links from JSON (asynchronous way).
voidRemoveByTable(Table table)Removes all links which contain the table passed in parameter
voidRemoveItem(Int32 index)Removes the element at the specified index of the System.Collections.ObjectModel.Collection'1.
voidWriteToJson(JsonWriter writer)Writes the list of linksto JSON.
TaskWriteToJsonAsync(JsonWriter writer)Writes the list of linksto JSON.