New and Old Value reversed on Updates

Using the last source code (Jan 4 2012), when doing Updates, the New and Old value in auditedEntity.ModifiedProperties are reversed. Inserts are audited correctly, I believe. [EDIT] he probl...

Id #6494 | Release: None | Updated: Mar 14 at 2:49 PM by GuillaumeJAY | Created: Mar 14 at 11:01 AM by GuillaumeJAY

Audit TableKey as Guid

After trying out the library I quickly found that Audit doesn't support Guid as primary key for a table. All my entities got a Guid as primary key so this is a problem for me. I hope you add...

Id #6493 | Release: None | Updated: Feb 6 at 1:38 PM by BockSoft | Created: Feb 6 at 1:36 PM by BockSoft

ReflectionExtensions: Method HasAttribute returns always true

Use .NET 4.0 The Method's HasAttribute of class ReflectionExtensions returns always true: Wrong: public static bool HasAttribute(this Type t, Type attrType) { return t...

Id #6492 | Release: None | Updated: Apr 15 2011 at 8:37 AM by donaldpeter | Created: Apr 15 2011 at 8:37 AM by donaldpeter

EntityTableKey = 0 on Inserts

I have implemented DoddleAudit and it seems to be working well - except that on Inserts, EntityTableKey is set to 0, even after the final call to UpdateKeys. When the following executes in UpdateK...

Id #5104 | Release: None | Updated: Jul 13 2010 at 2:23 PM by timammons | Created: Jul 13 2010 at 2:23 PM by timammons

Audit statements get included within Transaction

I am actually performing some bulk import and thus used transaction with LINQ to perform inserts. As I am performing intensive insert operations, many (around 780,000) audit records get generated. ...

Id #4281 | Release: None | Updated: Apr 21 2010 at 10:26 AM by dodone | Created: Apr 16 2010 at 7:27 AM by hancheng_tan

No suitable method found to override

When I added the InsertAuditRecordToDatabase override to the DataContext partial class that is generated by Linq to SQL (Right click on LINQ designer surface and choose View Code), I get a "No suit...

Id #3750 | Release: None | Updated: Apr 21 2010 at 10:33 AM by dodone | Created: Jan 8 2010 at 7:22 PM by bomax

Auditing tables with BigInt PK's (System.Int64) throws exception

When these tables are set up through: this.[tablename].Audit(); When trying to insert/update the table I get the following exception: Expression of type 'System.Int64' cannot be used for return ty...

Id #3328 | Release: None | Updated: Feb 6 at 1:37 PM by BockSoft | Created: Nov 11 2009 at 12:48 PM by alekl

GetModifiedFields: OriginalValue swapped with CurrentValue

File: LinqToSql\AuditableDataContext.cs Method: GetModifiedFields Issue: In commit 3365 GetModifiedFields was changed to use constructor initialization of a new MemberAudit object. The values for ...

Id #2738 | Release: None | Updated: Oct 22 2010 at 8:15 PM by duke84 | Created: Sep 18 2009 at 7:02 PM by andyvajda

more than 1 SubmitChanges() can cause multiple audit entries

Doddle overrides SubmitChanges() on the datacontext and, within here, calls DefaultAuditDefintions() which then calls user code which sets up the audit definitions. If you call SubmitChanges() mor...

Id #2398 | Release: None | Updated: Jun 9 2011 at 3:14 PM by the_real_fonzy | Created: Aug 9 2009 at 10:19 PM by jrshannon

Customize Complex property

Hi, I want to customize a property that is a relationship (not the id itself) and audit it. So I would like to do: CustomizeProperty(s => s.AddressDetail, a => a.ToString(), "Adresse"); In the cu...

Id #2347 | Release: None | Updated: Dec 16 2009 at 4:17 PM by tecGoblin | Created: Aug 3 2009 at 2:23 PM by tecGoblin