My app process runs on end of the day(EOD) & user can run it for back date(e.g. 2 year back) also in which case 2 year back data should be used to run the process.
If user is running the process for current date it's data should be pulled from database and if it's running for back date it's data should be pulled from archive storage file server(which was created on the day when back-date was ran as current date, i.e. 2 years back).
So for every EOD I have to archive store the data which I am pulling from database and during back date run I have to use it from archive instead of database.
What would be the best way to implement this as DAL in c#? I believe I have to store data in file server with each EOD run.
Aucun commentaire:
Enregistrer un commentaire