EntityManager.GetEntities Method (Type, EntityState)
EntityManagerGetEntities Method (Type, EntityState) Breeze.sharp
Retrieves all entities of a specified type with the specified entity state(s) from cache.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public IEnumerable<IEntity> GetEntities(
	Type type,
	EntityState entityState
)

Parameters

type
Type: SystemType
The type of Entity to retrieve
entityState
Type: Breeze.SharpEntityState
EntityState(s) of entities to return - defaults to AllButDetached

Return Value

Type: IEnumerableIEntity
A collection of Entities
Remarks

As the EntityState is a flags enumeration, you can supply multiple OR'ed values to search for multiple entity states.
See Also

Reference