Interface to map external entity IDs to internal ones to ensure that there are no gaps in the numbering. More...
Public Member Functions | |
| IList< int > | ToInternalID (IList< int > original_id_list) |
| Get internal IDs of a list of given entities. | |
| int | ToInternalID (int original_id) |
| 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. | |
| IList< int > | ToOriginalID (IList< int > internal_id_list) |
| Get original (external) IDs of a list of given entities. | |
| int | ToOriginalID (int internal_id) |
| Get original (external) ID of a given entity, if the given internal ID is unknown, throw an exception. | |
Properties | |
| ICollection< int > | InternalIDs [get] |
| all internal entity IDs | |
| ICollection< int > | OriginalIDs [get] |
| all original (external) entity IDs | |
Interface to map external entity IDs to internal ones to ensure that there are no gaps in the numbering.
| IList<int> ToInternalID | ( | IList< int > | original_id_list | ) |
Get internal IDs of a list of given entities.
| original_id_list | the list of original (external) IDs |
Implemented in EntityMapping, and IdentityMapping.
| int ToInternalID | ( | int | original_id | ) |
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.
| original_id | the original (external) ID of the entity |
Implemented in EntityMapping, and IdentityMapping.
| IList<int> ToOriginalID | ( | IList< int > | internal_id_list | ) |
Get original (external) IDs of a list of given entities.
| internal_id_list | the list of internal IDs |
Implemented in EntityMapping, and IdentityMapping.
| int ToOriginalID | ( | int | internal_id | ) |
Get original (external) ID of a given entity, if the given internal ID is unknown, throw an exception.
| internal_id | the internal ID of the entity |
Implemented in EntityMapping, and IdentityMapping.
ICollection<int> InternalIDs [get] |
ICollection<int> OriginalIDs [get] |
all original (external) entity IDs
all original (external) entity IDs
Implemented in EntityMapping, and IdentityMapping.
1.6.3