I have a position class that i want to be able to write to the database. I currently have a entity for the class that is mapped to the database. I want to because to have the class insert data into one table and update entries in the other table. One table is for current positions and the other is for historical positions. Is it possible to map an entity to 2 tables and have it update 1 table and insert into the other?
Share
Wouldn’t it be easier to have a Trigger on the Update that Insert automatically a copy of the data in your history table?