Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Auditlog and AuditLogDetails tables with Database First #110

Open
brandta15 opened this issue Jun 16, 2016 · 6 comments
Open

Create Auditlog and AuditLogDetails tables with Database First #110

brandta15 opened this issue Jun 16, 2016 · 6 comments
Assignees

Comments

@brandta15
Copy link

brandta15 commented Jun 16, 2016

I did not see a location to ask questions so I am posting it here.

I am using Tracker-enabled-dbcontext with database first. With version 3.6 is there a way to have the system generate the auditlog and auditlogdetails tables? If not how would I go about doing this with database first? Can I create the tables and then just add them to my dbcontext? If so what is the structure of the tables?

@bilal-fazlani
Copy link
Owner

#31
#108
It doesn't work with database first or model first.

@ragoster
Copy link

I use database first and modified the tt-files so that the context will inherit from TrackerContext. Will it not work if I add the audit tables to the database manually?

@bilal-fazlani
Copy link
Owner

It should theriotically. Try it.

On Thu 17 Nov, 2016 7:25 pm ragoster, [email protected] wrote:

I use database first and modified the tt-files so that the context will
inherit from TrackerContext. Will it not work if I add the audit tables to
the database manually?


You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub
#110 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADPSrwAuDIQnMDMeRsNId_ndsBAHqcu-ks5q_FzmgaJpZM4I3BXQ
.

@ragoster
Copy link

After a few modifications on the model classes property names and the EventType enum property, I got it to work, but it is not optimal, a few problems persist. I may try some more.

@slipmatt
Copy link

@ragoster can you explain how you got it to work, I'm in the same boat :)

@ragoster
Copy link

@slipmatt I did not use this framework after all, so I do not have my solution at hand any more. Instead I used the EntityFramework.Extended library, which does not require any modifications in the tt-files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants