Find all entities in cache having the specified entity state(s).
Namespace: Breeze.SharpAssembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
public IEnumerable<IEntity> GetEntities(
EntityState entityState = EntityState.AllButDetached
)
Public Function GetEntities (
Optional entityState As EntityState = EntityState.AllButDetached
) As IEnumerable(Of IEntity)
public:
IEnumerable<IEntity^>^ GetEntities(
EntityState entityState = EntityState::AllButDetached
)
member GetEntities :
?entityState : EntityState
(* Defaults:
let _entityState = defaultArg entityState EntityState.AllButDetached
*)
-> IEnumerable<IEntity>
Parameters
- entityState (Optional)
- Type: Breeze.SharpEntityState
EntityState(s) of entities to return
Return Value
Type:
IEnumerableIEntity
As the
EntityState is a flags enumeration, you can supply multiple
OR'ed values to search for multiple entity states.
Reference