Allowing a DB Layer object to be created for a record that is about to be inserted