Skip to content

How to include columns associated with Virtual classes in audit entry. #661

Answered by thepirat000
supr-pr asked this question in Q&A
Discussion options

You must be logged in to vote

Please include the libraries/versions you're referencing, the net framework version you're targeting and your configuration code for audit.net.

Do you have a mapping to the ProgramCategory_Id foreign key mapped to your program entity?, If not, can you try adding the property?

https://stackoverflow.com/questions/60663539/ef-core-should-i-add-foreign-key-id-in-class

public class Program : EntityBase, IHaveEncryptedProperties
{
    // ...
    public int ProgramCategoryId { get; set; }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@supr-pr
Comment options

Answer selected by supr-pr
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