$EntityStores

As of Version 11.3, $EntityStores has been superseded by the functions EntityRegister, EntityStores and EntityUnregister.

$EntityStores

is a global variable that gives a list of all entity stores that are automatically accessed when Entity is used.

Details

  • When evaluating an expression like Entity["type","name"][property], data is retrieved from the first EntityStore in $EntityStores that contains "type".
  • Entity types present in $EntityStores are considered before built-in entity types.
  • During assignments, Entity["type","name"][property]=value data is stored in the first EntityStore in $EntityStores that contains "type". If no EntityStore in $EntityStores contains "type", a new EntityStore is prepended to $EntityStores.

Examples

open allclose all

Basic Examples  (1)

Add an entity store in which to look for entities of type "MyType":

In[1]:=
Click for copyable input

Scope  (2)

See Also

EntityStore  Entity  EntityProperty  EntityClass  EntityPropertyClass

Introduced in 2016
(11.0)