IStorageEntityList
StockSharp.Algo.Storages
The interface for presentation in the form of list of trade objects, received from the external storage.
Implements: INotifyList<T>, INotifyCollection<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList<T>, ISynchronizedCollection<T>, ISynchronizedCollection, ISynchronizable
Properties
Methods
ReadById
public T ReadById(object id)
result = iStorageEntityList.ReadById(id)
To load the trading object by identifier.
- id
- Identifier.
Returns: The trading object. If the object was not found by identifier, will be returned.
Save
public void Save(T entity)
iStorageEntityList.Save(entity)
To save the trading object.
- entity
- The trading object.