| 1234567891011121314151617181920212223242526272829303132 |
- using Volo.Abp.Threading;
- namespace BaseService
- {
- public class BaseServiceModuleExtensionConfigurator
- {
- private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
- public static void Configure()
- {
- OneTimeRunner.Run(() =>
- {
- ConfigureExistingProperties();
- });
- }
- private static void ConfigureExistingProperties()
- {
- /* You can change max lengths for properties of the
- * entities defined in the modules used by your application.
- *
- * Example: Change user and role name max lengths
-
- IdentityUserConsts.MaxNameLength = 99;
- IdentityRoleConsts.MaxNameLength = 99;
-
- * Notice: It is not suggested to change property lengths
- * unless you really need it. Go with the standard values wherever possible.
- */
- }
- }
- }
|