For any write methods in *DataAccess classes that take only integer IDs as arguments, rewrite so they take objects of the type they are attempting to write as arguments. IDs can still be passed in by creating an object that has only the ID attribute set.
For any write methods in *DataAccess classes that take only integer IDs as arguments, rewrite so they take objects of the type they are attempting to write as arguments. IDs can still be passed in by creating an object that has only the ID attribute set.