The following tables list the members exposed by EntityManager.
Name | Description | |
---|---|---|
![]() | EntityManager Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | AuthenticationContext | Gets or sets the IdeaBlade.EntityModel.Security.IAuthenticationContext used by this EntityManager. |
![]() | AuthorizedThreadId | The thread id that this EntityManager is authorized to execute on. An EntityManager can only execute on a single thread at one time. |
![]() | CacheStateManager | The EntityManager.CacheStateManager that controls saving and restoring the state of this EntityManager's internal cache. |
![]() | CompositionContext | Returns the CompositionContext used by this EntityManager. |
![]() | DataSourceExtension | Gets the DataSourceExtension used with this EntityManager. |
![]() | DataSourceResolver | Gets the DataSourceResolver used to map entity types to data sources and IdGenerators. |
![]() | DefaultEntityReferenceStrategy | Sets the default EntityReferenceStrategy for all references within this EntityManager; |
![]() ![]() | DefaultManager | A static (Shared in Visual Basic) property that gets or sets a default EntityManager. |
![]() | DefaultQueryStrategy | Gets or sets the default QueryStrategy to use for all queries where the QueryStrategy is not set either by parameter or as part of the Query itself. |
![]() | DefaultSaveOptions | Gets or sets the default options that will be used if no SaveOptions are passed to a SaveChanges method. |
![]() | EntityServiceOption | Gets the EntityServiceOption used to determine whether to connect to a local or distributed Entity Service. |
![]() | IsClient | Returns whether the EntityManager is running on the client or the server. |
![]() | IsConnected | Returns whether the EntityManager is currently connected to an EntityServer. |
![]() | IsLoggedIn | Returns whether this EntityManager is logged in to the EntityServer. |
![]() | MetadataStore | The EntityMetadataStore for this manager. |
![]() | Options | Misc. set of options available to control various aspects of an EntityManager's behavior. |
![]() | Principal | Returns the System.Security.Principal.IPrincipal representing the current user. |
![]() | QueryCache | Gets the cache of previously executed queries. |
![]() | ServiceKey | Gets the name of the serviceKey which defines the EntityServer address. |
![]() | SessionKey | Returns a key identifying the current user session. |
![]() | Tag | Gets or sets a user-defined value for this EntityManager. |
![]() | UseAsyncNavigation | Gets or sets whether asynchronous queries are used when navigating relational properties. |
![]() | UsesDistributedEntityService | Gets whether this EntityManager uses a distributed Entity Service. |
![]() | VerifierEngine | Gets or sets the IdeaBlade.Validation.VerifierEngine shared by all entities within this EntityManager. |
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. |
![]() | CancelAsync | Cancel a pending asynchronous operation. |
![]() | CancelCallback | Cancel an existing subscription to a server "push" method. |
![]() | Clear | Resets the EntityManager to its initial "newed" state. |
![]() | Connect | Connect to the IdeaBlade.EntityModel.Server.EntityServer. |
![]() | ConnectAsync | Overloaded. Connect to the IdeaBlade.EntityModel.Server.EntityServer asynchronously. |
![]() | 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. Execute a 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). (Except EntityState.Detached) |
![]() | 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 | Overloaded. Perform an asynchronous ForceIdFixup operation. |
![]() | GenerateId | Generates a temporary ID for an IEntity. The temporary ID will be mapped to a real ID when EntityManager.SaveChanges is called. |
![]() | GetEntityGroup | Overloaded. Returns the EntityGroup associated with a specific Entity subtype. |
![]() | GetEntityGroups | Collection of all IdeaBlade.EntityModel.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. |
![]() ![]() | InternalFullReset | For internal useOnly; |
![]() | InvokeServerMethod | Overloaded. Invokes the specified static (Shared in Visual Basic) method for execution on the server. |
![]() | InvokeServerMethodAsync | Overloaded. Asynchronously invokes the specified static (Shared in Visual Basic) method for execution on the server. |
![]() | IsEntityLoaded | Returns true if the Entity is in cache. |
![]() | IsEntityType | Determines if the specified type is an entity type. |
![]() | LinkForAuthentication | Set authentication credentials on this EntityManager. |
![]() | Login | Overloaded. Used to validate a user's credentials. |
![]() | LoginAsync | Perform an asynchronous login operation to validate the user's credentials. |
![]() | Logout | Logs the user off, discarding session information. |
![]() | LogoutAsync | Perform an asynchronous logout operation. |
![]() | RefetchEntities | Overloaded. Forces a collection of entities to be refetched from the backend data source. |
![]() | RefetchEntitiesAsync | Overloaded. Perform an asynchronous RefetchEntities(EntityKeyList,MergeStrategy) operation. |
![]() | RefetchEntity | Forces an entity to be refetched from the backend data source. |
![]() | RefetchEntityAsync | Perform an asynchronous RefetchEntities(EntityKeyList,MergeStrategy) operation. |
![]() | RegisterCallback | Overloaded. Register a client subscription to a server "push" method. |
![]() | RejectChanges | Rolls back all Entity changes since the cache was created or the last EntityManager.SaveChanges call was made. |
![]() | RemoveEntities | Overloaded. Removes a collection of entities from the EntityManager cache. |
![]() | RemoveEntity | Removes an IEntity from the EntityManager cache. |
![]() | SaveChanges | Overloaded. Persists all changed IEntity objects within the EntityManager cache to the backend data source using the DefaultSaveOptions. |
![]() | SaveChangesAsync | Overloaded. Perform an asynchronous EntityManager.SaveChanges operation. |
![]() | ToString | (Inherited from object) |
Name | Description | |
---|---|---|
![]() | Finalize | (Inherited from object) |
![]() | MemberwiseClone | (Inherited from object) |
![]() | OnCleared | Raises the Cleared event. |
![]() | OnConnectionStateChanged | Raises the EntityManager.ConnectionStateChanged event. |
![]() ![]() | OnEntityManagerCreated | Raises the EntityManager.EntityManagerCreated event. |
![]() | OnFetching | Raises the EntityManager.Fetching event. |
![]() | OnQueried | Raises the EntityManager.Queried event. |
![]() | OnQuerying | Raises the EntityManager.Querying event. |
![]() | OnSaved | Raises the EntityManager.Saved event. |
![]() | OnSaving | Raises the EntityManager.Saving event. |
Name | Description | |
---|---|---|
![]() | Cleared | Fired whenever this entityManager is cleared. |
![]() | ConnectionStateChanged | Fired when the connection state of the EntityManager changes. |
![]() | EntityChanged | Fired whenever an entity's state has changed in any significant manner. |
![]() | EntityChanging | Fired whenever an entity's state is changing in any significant manner. |
![]() | EntityManagerCreated | Event fired whenever a new EntityManager is created. |
![]() | EntityServerError | Raised when an error occurs while accessing the EntityServer or backend data source. |
![]() | Fetching | Occurs before the EntityManager fetches data from an EntityServer. This event will only occur if the query will not be satisfied out of the local cache. |
![]() | Queried | Occurs after the EntityManager has completed processing of a query. |
![]() | Querying | Occurs before the EntityManager executes a query. |
![]() | Saved | Occurs after the EntityManager has persisted changed entities. |
![]() | Saving | Occurs when the EntityManager is preparing to save changes. |