Bulk Operations

NOTE: This feature is not available in NCache Express and Professional edition.

Where normal add, insert and remove methods let you work with single key-value pairs, bulk operations let you add, update or remove a collection of key-value pairs in a single method call. The idea behind bulk operations is to minimize the cluster traffic by bundling multiple operations into a single call. This is handy if you want to work with collection of items.

Note: Here users are supposed to provide unique keys for all bulk operations.

Include the following namespace in your application.

usingAlachisoft.NCache.Web.Caching;

Create a new Class named 'Customer' in your already created Test Application.