0
birthdaycensus created
How can I register a custom implementation of IClockProvider so as to overwrite the LocalclockProvider that seems to be used in the application especially in the SetCreationAuditProperties of the AbpDbContext. I saw in Abp.Timing.Clock class static constructor that the Provider is been manually set to LocalClockProvider. What do you suggest I do? Thanks
1 Answer(s)
-
0
Hi,
You can add this code to your project:
Clock.Provider = new YourCustomProvider();
You can do it in your module's PreInitialize (or even as a first line in Application_Start in global.asax)