Class UnitService
- Namespace
- Dynamicweb.Ecommerce.Units
- Assembly
- Dynamicweb.Ecommerce.dll
The service to handle CRUD plus cache A unit could be a BOX, BACK, PALLET etc.
- Inheritance
-
Unit
Service
- Implements
- Inherited Members
Properties
Info
Information about the object cache
Property Value
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keys
IEnumerable<string>Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
Parameters
key
stringKey to reset
Delete(string)
Parameters
id
string
GetUnit(string)
Parameters
id
string
Returns
GetUnits()
Returns
Save(Unit)
Parameters
unit
Unit
SetCacheType<TObjectCache>()
Changes the storage container
Type Parameters
TObjectCache