Class to map external entity IDs to internal ones to ensure that there are no gaps in the numbering
Declaring type: EntityMapping
Namespace: MyMediaLite.Data
Assembly: MyMediaLite
Collapse/Expand Protected Fields
  Name Description
Protected Field internal_to_original Contains the mapping from the internal IDs to the original (external) IDs Never, to repeat NEVER, delete entries from that dictionary!
Protected Field original_to_internal Contains the mapping from the original (external) IDs to the internal IDs. Never, to repeat NEVER, delete entries from that dictionary!
Collapse/Expand Public Constructors
  Name Description
Public Method EntityMapping

There is no summary.

Collapse/Expand Public Methods
  Name Description
Public Method ToInternalID Overloaded. Get internal ID of a given entity. If the given external ID is unknown, create a new internal ID for it and store the mapping.
Public Method ToOriginalID Overloaded. Get original (external) ID of a given entity. If the given internal ID is unknown, throw an exception.
Collapse/Expand Public Properties
  Name Description
Public Property InternalIDs all internal entity IDs
Public Property OriginalIDs all original (external) entity IDs