I have been asked to pull the column for use in a web app. I am using asp.net and c #. I was using data reader to populate class variables The problem is that the DBF file can change. Sometimes the rows are added or removed, so every time my class has to change the data source file to represent the columns, there is no way around it?
There are many ways to address this issue, your problem is that of object relational mapping or ORM Is controlled by a whole range of solutions. In Java there is the whole king and the net world. It rebuilds the redemption with each DB change, however, I use the code generation to solve that problem, makes the class and creates a mapping file directly from the DP. Then you have come in TDD and CI, to make sure that you have not broken anything and then .....
However, if you want something quick and dirty, And you can create a dictionary within the store, any extra columns in it are completely flexible but your classes are not defined in the extra column class.
Comments
Post a Comment