Class to map external entity IDs to internal ones to ensure that there are no gaps in the numbering
More...
|
|
void | GetObjectData (SerializationInfo info, StreamingContext context) |
| |
| | Mapping () |
| | default constructor More...
|
| |
|
| Mapping (SerializationInfo info, StreamingContext context) |
| |
| int | ToInternalID (string 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. More...
|
| |
| IList< int > | ToInternalID (IList< string > original_id_list) |
| | Get internal IDs of a list of given entities More...
|
| |
| string | ToOriginalID (int internal_id) |
| | Get original (external) ID of a given entity, if the given internal ID is unknown, throw an exception. More...
|
| |
| IList< string > | ToOriginalID (IList< int > internal_id_list) |
| | Get original (external) IDs of a list of given entities More...
|
| |
|
|
ICollection< int > | InternalIDs [get] |
| |
|
int | NumberOfEntities [get] |
| |
| ICollection< string > | OriginalIDs [get] |
| | all original (external) entity IDs More...
|
| |
Class to map external entity IDs to internal ones to ensure that there are no gaps in the numbering
| int ToInternalID |
( |
string |
original_id | ) |
|
|
inline |
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.
- Parameters
-
| original_id | the original (external) ID of the entity |
- Returns
- the internal ID of the entitiy
Implements IMapping.
| IList<int> ToInternalID |
( |
IList< string > |
original_id_list | ) |
|
|
inline |
Get internal IDs of a list of given entities
- Parameters
-
| original_id_list | the list of original (external) IDs |
- Returns
- a list of internal IDs
Implements IMapping.
| string ToOriginalID |
( |
int |
internal_id | ) |
|
|
inline |
Get original (external) ID of a given entity, if the given internal ID is unknown, throw an exception.
- Parameters
-
| internal_id | the internal ID of the entity |
- Returns
- the original (external) ID of the entitiy
Implements IMapping.
| IList<string> ToOriginalID |
( |
IList< int > |
internal_id_list | ) |
|
|
inline |
Get original (external) IDs of a list of given entities
- Parameters
-
| internal_id_list | the list of internal IDs |
- Returns
- the list of original (external) IDs
Implements IMapping.
| ICollection<string> OriginalIDs |
|
get |
all original (external) entity IDs
all original (external) entity IDs
The documentation for this class was generated from the following file: