IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityManager Class |
For a list of all members of this type, see EntityManager members.
Name | Description | |
---|---|---|
![]() | AcceptChanges | Accept changes to all modified, deleted or added entities within the cache. |
![]() | AddEntities | Adds newly created entities to the EntityManager cache. |
![]() | AddEntity | Adds a newly created entity to the EntityManager cache. |
![]() | AttachEntities | Adds a collection of detached entities to this EntityManager and marks them with the specified EntityState. Throws an exception if an entity with the same key already exists in the manager or if the specified entities are not in a detached state. |
![]() | AttachEntity | Adds a detached entity to this EntityManager and marks it with the specified EntityState. Throws an exception if an entity with the same key already exists in the manager or if the specified entity is not in a detached state. |
![]() | Clear | Resets the EntityManager to its initial "newed" state. |
![]() | Connect | Connect to the IdeaBlade.EntityModel.Server.EntityServer. |
![]() | ConnectAsync | Overloaded. ConnectAsync(CancellationToken) with System.Threading.CancellationToken.None |
![]() | CreateEntity | Overloaded. Create a new entity of the requested type. |
![]() | Disconnect | Disconnect from the IdeaBlade.EntityModel.Server.EntityServer. |
![]() | Equals | (Inherited from object) |
![]() | ExecuteQuery | Overloaded. Executes the specified query. |
![]() | ExecuteQueryAsync | Overloaded. Executes the specified query asynchronously. |
![]() | ExecuteQueryForObject | Executes the specified query returning a scalar value. |
![]() | ExecuteQueryForObjectAsync | Overloaded. Executes the specified scalar query asynchronously. |
![]() | FindEntities | Overloaded. Find all entities in cache having the specified entity state(s). |
![]() | FindEntity | Overloaded. Finds the object in cache using the EntityKey provided. |
![]() | FindEntityGraph | Given any entity or entities in a graph, collects and retrieves all related entities in the graph. This is a cache-only operation. |
![]() | ForceIdFixup | Force an immediate update of all auto-generated IDs. |
![]() | ForceIdFixupAsync | Perform an asynchronous ForceIdFixup operation. |
![]() | GenerateId | Generates a temporary ID for an IEntity. The temporary ID will be mapped to a real ID when SaveChanges is called. |
![]() | GetEntityGroup | Overloaded. Returns the EntityGroup associated with a specific Entity subtype. |
![]() | GetEntityGroups | Collection of all EntityGroups within the cache. |
![]() | GetHashCode | (Inherited from object) |
![]() | GetNullEntity | Overloaded. Returns a "null" entity of the specified entity type. |
![]() | GetQuery | Overloaded. Return an EntityQuery to retrieve entities of the specified type. |
![]() | GetType | (Inherited from object) |
![]() | HasChanges | Determines whether the EntityManager cache has any changes that have not yet been persisted to the backend data source. |
![]() | ImportEntities | Import entities from another EntityManager into this one. |
![]() | InvokeServerMethod | Overloaded. Invokes the specified static (Shared in Visual Basic) method for execution on the server. |
![]() | InvokeServerMethodAsync | Overloaded. Calls InvokeServerMethodAsync(ServerMethodDelegate,CancellationToken,Object[]) with System.Threading.CancellationToken.None |
![]() | IsEntityLoaded | Returns true if the Entity is in cache. |
![]() | IsEntityType | Determines if the specified type is an entity type. |
![]() | RefetchEntities | Overloaded. Forces a collection of entities to be refetched from the backend data source. |
![]() | RefetchEntitiesAsync | Overloaded. Forces a collection of entities to be refetched from the backend data source. |
![]() | RefetchEntity | Forces an entity to be refetched from the backend data source. |
![]() | RefetchEntityAsync | Overloaded. Calls RefetchEntityAsync(Object,MergeStrategy,CancellationToken) with System.Threading.CancellationToken.None |
![]() | RejectChanges | Rolls back all Entity changes since the cache was created or the last SaveChanges call was made. |
![]() | RemoveEntities | Overloaded. Removes a collection of entities from the EntityManager cache. |
![]() | RemoveEntity | Removes an IEntity from the EntityManager cache. |
![]() | SaveChanges | Persists all changed entities within the EntityManager cache to the backend data source using the SaveOptions specified. |
![]() | SaveChangesAsync | Perform an asynchronous SaveChanges operation with the specified SaveOptions. |
![]() | ToString | (Inherited from object) |
![]() | TryExecuteQuery | Overloaded. Executes the specified query and returns a QueryResult. |
![]() | TryExecuteQueryAsync | Overloaded. Executes the specified query asynchronously and returns a QueryResult. |
![]() | TrySaveChanges | Persists one or more selected Entities within the EntityManager cache to the backend data source using the SaveOptions specified. |
![]() | TrySaveChangesAsync | Perform an asynchronous SaveChanges operation with the specified SaveOptions. |
Name | Description | |
---|---|---|
![]() | Finalize | (Inherited from object) |
![]() | MemberwiseClone | (Inherited from object) |
![]() | OnCleared | Raises the Cleared event. |
![]() | OnConnectionStateChanged | Raises the ConnectionStateChanged event. |
![]() ![]() | OnEntityManagerCreated | Raises the EntityManagerCreated event. |
![]() | OnFetching | Raises the Fetching event. |
![]() | OnQueried | Raises the Queried event. |
![]() | OnQuerying | Raises the Querying event. |
![]() | OnSaved | Raises the Saved event. |
![]() | OnSaving | Raises the Saving event. |
Name | Description | |
---|---|---|
![]() | ConnectAsync | Connect to the IdeaBlade.EntityModel.Server.EntityServer asynchronously. |
![]() | ExecuteQueryAsync | Overloaded. Execute a query asynchronously. |
![]() | ForceIdFixupAsync | Perform an asynchronous ForceIdFixup operation. |
![]() | InvokeServerMethodAsync | Overloaded. Asynchronously invokes the specified static (Shared in Visual Basic) method for execution on the server. |
![]() | RefetchEntitiesAsync | Overloaded. Performs an asynchronous refetch of all entities with the specified EntityState(s) from the backend data source. |
![]() | RefetchEntityAsync | Perform an asynchronous refetch operation. |
![]() | SaveChanges | Persists one or more selected Entities within the EntityManager cache to the backend data source using the IdeaBlade.EntityModel.SaveOptions specified. |
![]() | SaveChangesAsync | Overloaded. Perform an asynchronous SaveChanges operation. |
![]() | SaveChangesAsync | Perform an asynchronous IdeaBlade.EntityModel.Compat.EntityManagerPartialSaveExtensions.SaveChanges(IdeaBlade.EntityModel.EntityManager,System.Collections.IEnumerable,IdeaBlade.EntityModel.SaveOptions) operation with the specified list of entities and IdeaBlade.EntityModel.SaveOptions. |
![]() | TrySaveChanges | Persists one or more selected Entities within the EntityManager cache to the backend data source using the IdeaBlade.EntityModel.SaveOptions specified. |
![]() | TrySaveChangesAsync | Perform an asynchronous IdeaBlade.EntityModel.Compat.EntityManagerPartialSaveExtensions.SaveChanges(IdeaBlade.EntityModel.EntityManager,System.Collections.IEnumerable,IdeaBlade.EntityModel.SaveOptions) operation with the specified list of entities and IdeaBlade.EntityModel.SaveOptions. |