I created a service which points to a DBContext of a database.This service runs daily and fetches few records and apply business rules.
I have 2 other similar databases with same schema.
Now i need to run the same service on these two databases also.
Can any one tell me the best way to work out with this requirement.
Thanks, Hari

Ramesh MaruthiRank #937 · 2.2K reputationPosted Aug 14, 2014, 5:56 AM EDT
According to my thinking you can mention the separate timings for each database and write the different methods for calling three databases
for example
database1 10 am to 1 pm then after pick the database2 calling method from the service
database 2 1pm to 5pm then after pick the database3 calling method
you can write a windows job engine service for this.....