Name | Description | |
---|---|---|
EntityClientCache Constructor | Overloaded. |
The following tables list the members exposed by EntityClientCache.
Name | Description | |
---|---|---|
EntityClientCache Constructor | Overloaded. |
Name | Description | |
---|---|---|
DbContext | ||
ObjectContext | The ObjectContext through which EntityClientCache accesses the data. |
Name | Description | |
---|---|---|
AcceptChanges | Accepts all changes made to entities in the ObjectContext. | |
BulkChanges | Used to group massive changes to entities and to allow manual explicit changes of entity states. (Inherited from C1.Data.ClientCacheBase) | |
CleanupCache | Forces unused memory to be released, unused entities to be detached from the context. It is usually done automatically, so programmers rarely need to call this method in code. (Inherited from C1.Data.ClientCacheBase) | |
Clear | Clears client-side cache entirely. Call this method if you want to make sure that following queries will fetch fresh data from the server. (Inherited from C1.Data.ClientCacheBase) | |
CreateScope | Creates an Entity Framework-specific client scope. | |
CreateTransaction | Creates a C1.Data.Transactions.ClientTransaction that allows you to easily cancel changes made in transaction scope. (Inherited from C1.Data.ClientCacheBase) | |
GetDefault | Returns the default EntityClientCache for a given contextType. | |
Refresh | Refreshes data in all C1DataSource controls connected to this ClientCacheBase. (Inherited from C1.Data.ClientCacheBase) | |
RegisterContext | Overloaded. Registers an ObjectContext as a default for C1DataSource controls for a given context type. | |
RejectChanges | Reverts all pending changes for this C1.Data.ClientCacheBase. It is recommended to call this method instead of %System.Data.Objects.ObjectContext.Refresh(System.Data.Objects.RefreshMode, object)%. (Inherited from C1.Data.ClientCacheBase) | |
SaveChanges | Persists all changes to the server. It is recommended to call this method instead of System.Data.Objects.ObjectContext.SaveChanges(). (Inherited from C1.Data.ClientCacheBase) |