You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to store the Parent Entity Type Name and PK within the AuditLog table to allow me to flag a entity as 'changed' by traversing down the tree. The issue I have is that some objects are shared between parents and therefore I can't tie them together.
In this example, when I look at the Address details for a given user, there is no way to link them back up the object graph to flag the parent as 'changed'.
Looking through the source code here it doesn't appear that this is possible straight out of the box without changing it.
Besides the fact that I could do some joining of my own between the AuditLog and my own entities it seems like having the above option available would be beneficial in some situations.
Thanks for reading.
The text was updated successfully, but these errors were encountered:
I am looking to store the Parent Entity Type Name and PK within the AuditLog table to allow me to flag a entity as 'changed' by traversing down the tree. The issue I have is that some objects are shared between parents and therefore I can't tie them together.
An Example.
Application1.Person
-> Application1.ContactDetails
-> Application1.AddressDetails
Application1.ShippingDetails
-> Application1.ContactDetails
-> Application1.AddressDetails
In this example, when I look at the Address details for a given user, there is no way to link them back up the object graph to flag the parent as 'changed'.
Looking through the source code here it doesn't appear that this is possible straight out of the box without changing it.
Besides the fact that I could do some joining of my own between the AuditLog and my own entities it seems like having the above option available would be beneficial in some situations.
Thanks for reading.
The text was updated successfully, but these errors were encountered: