Interface IAssetService
Provide update asset in ECF
Namespace: Mediachase.Commerce.Assets
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public interface IAssetService
Methods
CommitAssetsToEntry(IEnumerable<CatalogEntryDto.CatalogItemAssetRow>, CatalogEntryDto)
Adds asset information to a CatalogEntryDto.
Declaration
void CommitAssetsToEntry(IEnumerable<CatalogEntryDto.CatalogItemAssetRow> assetRows, CatalogEntryDto entry)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<CatalogEntryDto.CatalogItemAssetRow> | assetRows | The rows to update. |
CatalogEntryDto | entry | The entry dto. |
Remarks
The first entry in entry
will be used even if it contains multiple entries.
CommitAssetsToNode(IEnumerable<CatalogNodeDto.CatalogItemAssetRow>, CatalogNodeDto)
Adds asset information to a CatalogNodeDto.
Declaration
void CommitAssetsToNode(IEnumerable<CatalogNodeDto.CatalogItemAssetRow> assetRows, CatalogNodeDto node)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<CatalogNodeDto.CatalogItemAssetRow> | assetRows | The rows to update. |
CatalogNodeDto | node | The node dto. |
Remarks
The first node in node
will be used even if it contains multiple nodes.