Skip to content

MetaEntityStore class

Represents storage of entities

public class EasyData.MetaEntityStore
: MetaEntityList

Package: EasyData.Core (targets: netstandard2.0)

Assembly: EasyData.Core.dll

NameTypeDescription
MetaEntityStore(MetaEntity parentEntity)voidInitializes a new instance of the EntityStore class.
NameTypeDescription
ModelMetaDataGets the model.
NameTypeDescription
InsertItem(int index, MetaEntity item)voidInserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
OnEntityInsertion(MetaEntity entity, int index)voidCalled on entity’s insertion.
ReadFromJsonAsync(JsonReader reader)TaskReads the list of entities from JSON (asynchronous way).
WriteToJsonAsync(JsonWriter writer, BitOptions rwOptions)TaskWrites the list of entities to JSON (asynchronous way).