I\'m seeing a NULL Identity key error when trying to write out an object mapped to a table that inherits another one. I\'ve found this example works fine when using the Decl