Class DynamicRelationGroupService
- Namespace
- Dynamicweb.Ecommerce.Products.Dynamic
Relations
- Assembly
- Dynamicweb.Ecommerce.dll
Service providing methods for querying and saving the Dynamic
public sealed class DynamicRelationGroupService : ICacheStorage<string, DynamicRelationGroup>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
Dynamic
Relation Group Service
- Implements
- Inherited Members
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(IEnumerable<string>)
Parameters
ids
IEnumerable<string>
Returns
GetAll()
Gets all Dynamic
Returns
GetById(string)
Gets a Dynamicid
.
Parameters
id
stringThe ID.
Returns
GetByIds(IEnumerable<string>)
Gets Dynamicids
.
Parameters
ids
IEnumerable<string>The IDs.
Returns
HasAny()
Returns
Save(DynamicRelationGroup)
Save the specified Dynamic
Parameters
group
DynamicRelation Group The Dynamic
Relation to save.Group
Returns
Exceptions
- Argument
Null Exception Thrown when the
group
is null.