Property | Type | Description | |
---|---|---|---|
Empty |
Method | Description | |
---|---|---|
GetConvertedId ( string scope, string originalId ) : string |
Converts the specified id into a new Id. If we've already converted this id, then returns the original conversion. This method is for creating outgoing ids.
|
Method | Description | |
---|---|---|
Generate ( string scope, string originalId ) : string |
Generates a new id for the specified scope. The originalId may be ignored if not needed as a "seed" value.
|
protected abstract Generate ( string scope, string originalId ) : string | ||
scope | string | The scope for the id. For example, for an auto-incrementing /// int id in a table, this might be the table name. This is how we can distinguish /// between two ids that might be the same. |
originalId | string | This can be used as the seed for the generated id. |
return | string |
public GetConvertedId ( string scope, string originalId ) : string | ||
scope | string | The scope for the id. For example, for an auto-incrementing /// int id in a table, this might be the table name. This is how we can distinguish /// between two ids that might be the same. |
originalId | string | |
return | string |