Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 11, 2012 10:16 PM by sjnaughton
Dec 09, 2012 06:56 PM|LINK
Both in the book and in your example you can find something like this:
private DBAudit AuditTrailFactory(ObjectStateEntry entry, string UserName)
Then you do stuff like this to fill your data:
DBAudit audit = new DBAudit();
audit.AuditId = Guid.NewGuid().ToString();
audit.RevisionStamp = DateTime.Now;
audit.TableName = entry.EntitySet.Name;
audit.UserName = UserName;
BUT that wouldn't be needed if you could as well get all of this data at once and not performing additional queries just to get something you could have probably gotten 10 steps before while normal execution of Dynamic Data. Isn't it?
Carlos N. Porras
Dec 11, 2012 10:16 PM|LINK
Hi Carlos, I donlt see an easy solution for you sorry, I will try to get my audit solution up and running as soon as I can but I feel that it may not be until after Christmas now.