Skip to content

EntityStore class

Represents storage of entities

public class Korzh.EasyQuery.EntityStore
: EntityList, IList<Entity>, ICollection<Entity>, IEnumerable<Entity>, IEnumerable, IList, ICollection, IReadOnlyList<Entity>, IReadOnlyCollection<Entity>
TypeNameDescription
DataModelModelGets the model.
TypeNameDescription
voidInsertItem(Int32 index, Entity item)Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
voidOnEntityInsertion(Entity entity, Int32 index)Called on entity’s insertion.
voidReadFromJson(JsonReader reader)Reads the list of entities from JSON.
TaskReadFromJsonAsync(JsonReader reader)Reads the list of entities from JSON (asynchronous way).
voidWriteToJson(JsonWriter writer, ModelReadWriteOptions rwOptions)Writes the list of entities to JSON.
TaskWriteToJsonAsync(JsonWriter writer, ModelReadWriteOptions rwOptions)Writes the list of entities to JSON (asynchronous way).