Hi,
i have two entities: Incident and Action
Action is subtype of Incident.
Incident has the following fields: IncidentId (PK), Time, Description
Action has the following fields: IncidentId (PK), ActionDetails
An incident has been submitted and now i want to create an action for it.
How can i do it?
Creating a new instance of Action will obviously not work.
I can always get the Incident using the incident id and then create a new action and set its Time and Description fields from the fetched Incident entity and delete the fetched Incident entity but i am thinking there is gotta be an easier way.
Any pointers?
thank you