Skip to content

How to track Many-to-Many fields? (EFCore) #603

Closed Answered by thepirat000
J3ster1337 asked this question in Q&A
Discussion options

You must be logged in to vote

Note that the first parameter of the .MapTable<AuditType>("AuditedTableName", ...) call must be the table name of the relation table you want to audit, and NOT the audit table, so your code should look like this:

 .MapTable<ClientChangeHistoryAudit>("ClientChosenPortraitPhotos", ...)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thepirat000
Comment options

Answer selected by J3ster1337
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants