Do a project, no one will be a database design so perfect so that there will be no changes in the late, the people can design such a database to see you write code on Mars.
I wonder if you've ever used NH or EF? After I have used, one to the database structure changes when I feel very cumbersome, what type of change, and mapping relationship to change, more frightening is if your code is more chaotic, it is troublesome.
Now all these problems are not, and then have to talk about this ormapping on the basis of the migration operation of the DB, my side basically has been improved, the first to see this class diagram, I will introduce each class is what to use, how to use.
Interested friends but try to achieve this structure, if there are questions can be in time to communicate with me, I will slowly introduce later, first get here, now you have to write the WPF side of the blog.
Do your own ormapping framework----Nineth start ormapping Tour, update the library table structure Update schema design