on 11-16-2021 6:01 PM
hi, is there another way to generate number for instances instead of NumberRange library ?
Hello Ahmed,
What are you trying to achieve that can not be achieved with NumberRange RL?
Best regards,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You only have to call NumberRange if your external key is not set yet.
Adding something like bellow snippet could be enough.
if(this.ID.IsInitial())
{
this.ID = NumberRange.DrawNumber("MyNumberRange");
}
User | Count |
---|---|
80 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.