The EntityManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EntityManager | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds an entity to the end of the managed collection.
| |
| AddRange |
Adds a set of entities to the end of the managed collection.
| |
| BeginInit |
Signals the entity manager that initialization is starting.
| |
| CheckAccess | (Inherited from DispatcherObject.) | |
| Clear |
Removes all entities from the managed collection.
| |
| ClearValue | Overloaded. | |
| CoerceValue | (Inherited from DependencyObject.) | |
| CreateEntity |
Creates a new entity wrapping the specified object.
Inheriters should override this method to create their own entity type.
| |
| CreateEntityCollection |
Creates the internal entity collection to be used as the entity host of this EntityManager.
Inheriters should override this method and provide their own entity collection type.
| |
| CreateEntityFromSimpleItem |
Creates a new entity for simple data management mode.
Inheriters should override this method to create their own entity type.
| |
| CreateReadOnlyEntityCollection |
Creates the internal read-only entity collection to be provided by this EntityManager.
Inheriters should override this method and provide their own read-only entity collection type.
| |
| Dispose |
Releases all resources used by the EntityManager.
| |
| EndInit |
Signals the entity manager that initialization is complete.
| |
| Equals | (Inherited from DependencyObject.) | |
| Finalize | (Inherited from Object.) | |
| GetEntity |
Gets the entity that wraps the specified object from the internal entity collection, or null if such entity doesn't exist.
| |
| GetEntityAt |
Gets the entity at the specified index from the internal entity collection.
| |
| GetHashCode | (Inherited from DependencyObject.) | |
| GetLocalValueEnumerator | (Inherited from DependencyObject.) | |
| GetType | (Inherited from Object.) | |
| GetValue | (Inherited from DependencyObject.) | |
| InitializeEntityCollection |
Initializes the read only entity collection to be used for viewing entities externally.
Inheriters should override this method to initialize their own read only entity collection type.
| |
| Insert |
Inserts an entity into the managed collection.
| |
| InsertRange |
Inserts a set of entities into the managed collection.
| |
| InvalidateProperty | (Inherited from DependencyObject.) | |
| MemberwiseClone | (Inherited from Object.) | |
| Move | Overloaded. | |
| MoveRange |
Moves a range of items to a new index in the managed collection.
| |
| OnCountChanged |
Called when the Count property changes.
| |
| OnDataPropertyChanged |
Signals that a data binding property such as Items is changed.
Inheriters should call this method from the PropertyChanged callbacks of their own data binding properties.
| |
| OnDisposing |
Called when the EntityManager is disposed.
| |
| OnEntitiesChanged |
Raises the EntitiesChanged event.
Called when the entities collection is changed.
| |
| OnInitialization |
Called when the EntityManager is initialized.
| |
| OnInitialized |
Notifies that initialization of the entity manager is completed and binds the entity collection to the specified data objects that are to be managed.
| |
| OnInitializeEntitiesCompleted |
Executed after the managed entities are initialized.
Inheriters may override this method to provide finalization for the managed entities.
| |
| OnInitializeEntitiesCompleting |
Executed when the managed entities are initialized.
Inheriters may override this method to provide final property invalidation for the managed entities.
The initial index of the entities.
The initialized entities.
| |
| OnNewItem |
Raises the NewItem event when a new item is created in the collection to allow the event handlers to create their own item type.
| |
| OnPropertyChanged | (Inherited from DependencyObject.) | |
| OnVisibilityFilterChanged |
Raises the VisibilityFilterChanged.
Called when the visibility filter is changed.
| |
| ReadLocalValue | (Inherited from DependencyObject.) | |
| Remove |
Removes a specific entity from the managed collection.
| |
| RemoveAt |
Removes the entity at the specified index of the managed collection.
| |
| RemoveRange |
Removes specific entities from the managed collection.
| |
| RemoveRangeAt |
Removes the entities at the specified index of the managed collection.
| |
| RemoveValue | Overloaded. | |
| SetCurrentValue | (Inherited from DependencyObject.) | |
| SetValue | Overloaded. | |
| ShouldSerializeProperty | (Inherited from DependencyObject.) | |
| ToString | (Inherited from Object.) | |
| UpdateValue | Overloaded. | |
| VerifyAccess | (Inherited from DispatcherObject.) |
Fields
| Name | Description | |
|---|---|---|
| CountProperty |
Identifies the Count dependency property.
| |
| EntitiesProperty |
Identifies the Entities dependency property.
| |
| IsInitializedProperty |
Identifies the IsInitialized dependency property.
| |
| ItemsProperty |
Identifies the Items dependency property.
| |
| ParentEntityProperty |
Identifies the ParentEntity dependency property.
|
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the count of entities managed by this EntityManager.
This is a dependency property.
| |
| DataManagementMode |
Gets a value indicating the data management mode used with the entity manager.
| |
| DependencyObjectType | (Inherited from DependencyObject.) | |
| Dispatcher | (Inherited from DispatcherObject.) | |
| Entities |
Gets the read-only entity collection wrapping the objects that are currently managed.
This is a dependency property.
| |
| EntityCount |
Gets the actual count of entities managed by this EntityManager.
| |
| IsDisposed |
Gets a value indicating whether the EntityManager is currently disposed.
| |
| IsInitialized |
Gets a value indicating whether the entity manager is initialized.
This is a dependency property.
| |
| IsInitializingEntities |
Gets a value indicating whether the EntityManager is currently initializing its entity collection.
| |
| IsSealed | (Inherited from DependencyObject.) | |
| IsUsingSimpleDataManagementMode |
Gets a value indicating whether the simple data management mode is used with this entity manager.
| |
| Item |
Gets the entity that wraps the specified object from the internal entity collection, or null if such entity doesn't exist.
| |
| Items |
Gets or sets the object collection to be managed.
| |
| ParentEntity |
Gets the parent Entity that owns this EntityManager or null if the manager has no parent entity.
This is a dependency property.
| |
| VisibilityFilter |
Gets or sets the visibility filter to apply on the managed entities.
|
Events
| Name | Description | |
|---|---|---|
| Disposing |
Occurs when the EntityManager is disposed.
| |
| EntitiesChanged |
Occurs when the entities collection is changed.
| |
| Initialized |
Occurs when initialization of the entity manager is completed.
| |
| NewItem |
Occurs when a new item is created in the collection to allow the event handlers to create their own item type.
| |
| VisibilityFilterChanged |
Occurs when the visibility filter is changed.
|