Thank you for your answer,I have derived my own class from SettingManager like this:
And replaced the service by this:
Configuration.ReplaceService<ISettingManager, IentrySettingManager>(DependencyLifeStyle.Transient);
but how can I use it in controller.As the SettingManager property is defined in the base controller class,how can I inject my own SettingManager as a property in base controller?
Thank you very much.
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I'm using asp.net Zero to develop our project. I want to save our settings in AbpSettings table.But we have to add a filed named year. when I get settings or insert settings,year filed is required.now I have extended Setting class and year filed is added to database.But i have no idea about how to extend SettingManager.I have read the source code of asp.net boilerplate.It seems no way to do that. Does any body know how to do that? Thank you very much!