0

There is a database and a data access layer(DAL) they are dependent on eachother.

Whenever the portal starts I need to automatically run a script that checks to see if there has been a change in the one or the other. If the versions are the same, the portal works. If not then it fails.

I need a solution to this problem

1 Answers1

0

Use an ORM like EntityFramework, NHibernate or a micro ORM like PetaPoco. It allows you to regenerate your data access layer when you make changes in the database.

Atomic Star
  • 5,427
  • 4
  • 39
  • 48