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?
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.
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
klca
Member
507 Points
409 Posts
Re: Passing filter values among forms
Dec 09, 2012 06:56 PM|LINK
Hi Steve,
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
(El Salvador)
sjnaughton
All-Star
27308 Points
5458 Posts
MVP
Re: Passing filter values among forms
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.
Always seeking an elegant solution.