I have a class decorated with a attribute ...[DataEntity("MESSAGE_STAGING", EnableCaching = true, CacheTimeout = 43200)]
for some requirement,I want to change this value MESSAGE_STAGING
at run time to Test_Message_Staging
.
What is the best possible way to achieve this?
Can I use reflection, or is there any other way to do this.
Please provide code samples.
Thanks
SNA
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…