Метод | Описание | |
---|---|---|
Generate ( string scope, string originalId ) : string |
Generates a new int id for the specified scope starting at 1. The originalId is ignored.
|
protected 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. |
Результат | string |