Class ItemMapperExtension
Provides extension methods for mapping item entities.
Inherited Members
Namespace: DataWeb.Mappers
Assembly: DataWeb.Core.dll
Syntax
public static class ItemMapperExtension
Methods
ToItemInfo(Item)
Declaration
public static ItemInfo ToItemInfo(this Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The Item to convert. |
Returns
Type | Description |
---|---|
ItemInfo | An instance of ItemInfo representing the item. |
ToItemVersionInfo(ItemVersion)
Converts an ItemVersion to an ItemVersionInfo instance.
Declaration
public static ItemVersionInfo ToItemVersionInfo(this ItemVersion version)
Parameters
Type | Name | Description |
---|---|---|
ItemVersion | version | The ItemVersion to convert. |
Returns
Type | Description |
---|---|
ItemVersionInfo | An instance of ItemVersionInfo representing the item version. |