Use Generic Data Access for other classes
Posted: Mon Oct 08, 2007 8:56 am
Hello,
Would there be any objections if I'd "convert" more classes (e.g. Patient) to use the data access framework? The imaging-related classes use this framework already, and if I'm correctly there haven't surfaced any problems related to this.
"Converting" classes would always go hand-in-hand with adding unit tests to make sure they are correctly supported by the data access framework.
I'd like to make another compelling argument for using this framework. If you use it, you'll get a clear view of the Open Dental code that deviates from "standard" CRUD operations. That may make it easier to use, for example, the ADO.NET Entities Framework when it comes available (somewhere in 2008), which would simplify data access.
Frederik.
Would there be any objections if I'd "convert" more classes (e.g. Patient) to use the data access framework? The imaging-related classes use this framework already, and if I'm correctly there haven't surfaced any problems related to this.
"Converting" classes would always go hand-in-hand with adding unit tests to make sure they are correctly supported by the data access framework.
I'd like to make another compelling argument for using this framework. If you use it, you'll get a clear view of the Open Dental code that deviates from "standard" CRUD operations. That may make it easier to use, for example, the ADO.NET Entities Framework when it comes available (somewhere in 2008), which would simplify data access.
Frederik.