EntityManagerGetEntitiesT Method (EntityState) Breeze.sharp
Retrieves all entities of a specified type with the specified entity state(s) from cache as a typed enumerable.

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

public IEnumerable<T> GetEntities<T>(
	EntityState entityState = EntityState.AllButDetached
)

Parameters

entityState (Optional)
Type: Breeze.SharpEntityState
EntityState(s) of entities to return

Type Parameters

T
The type of Entity to retrieve

Return Value

Type: IEnumerableT
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