@@ -111,9 +111,13 @@ public AuditConfiguration()
111111 /// <value>true if unchanged property of a modified entity are audited, false if not.</value>
112112 public bool IgnorePropertyUnchanged { get ; set ; }
113113
114- /// <summary>Gets or sets a dictionary indicating if an entity type or a property name is audited.</summary>
115- /// <value>A dictionary indicating if an entity type or a property name is audited.</value>
116- public ConcurrentDictionary < string , bool > IsAuditedDictionary { get ; set ; }
114+ /// <summary>Gets or sets a value indicating whether the property for entity with Added state are audited.</summary>
115+ /// <value>true if the property for entity with Added state are audited, false if not.</value>
116+ public bool IgnorePropertyAdded { get ; set ; }
117+
118+ /// <summary>Gets or sets a dictionary indicating if an entity type or a property name is audited.</summary>
119+ /// <value>A dictionary indicating if an entity type or a property name is audited.</value>
120+ public ConcurrentDictionary < string , bool > IsAuditedDictionary { get ; set ; }
117121
118122 /// <summary>Gets or sets a list of predicates to check if the modified entity is soft added.</summary>
119123 /// <value>A list of predicates to check if the modified entity is soft added.</value>
@@ -142,12 +146,12 @@ public AuditConfiguration()
142146 /// Gets or sets a value indicating whether null value should be used in the Audit instead of DBNull.Value
143147 /// </summary>
144148 /// <value>The value indicating whether null value should be used in the Audit instead of DBNull.Value</value>
145- public bool UseNullForDBNullValue { get ; set ; }
149+ public bool UseNullForDBNullValue { get ; set ; }
146150#endif
147151
148- /// <summary>Makes a deep copy of this object.</summary>
149- /// <returns>A copy of this object.</returns>
150- public AuditConfiguration Clone ( )
152+ /// <summary>Makes a deep copy of this object.</summary>
153+ /// <returns>A copy of this object.</returns>
154+ public AuditConfiguration Clone ( )
151155 {
152156 var audit = new AuditConfiguration
153157 {
@@ -173,6 +177,7 @@ public AuditConfiguration Clone()
173177 SoftDeletedPredicates = new List < Func < object , bool > > ( SoftDeletedPredicates ) ,
174178 ExcludeRelationshipIfOneExcluded = ExcludeRelationshipIfOneExcluded ,
175179 UseUtcDateTime = UseUtcDateTime ,
180+ IgnorePropertyAdded = IgnorePropertyAdded ,
176181#if EF5 || EF6
177182 UseNullForDBNullValue = UseNullForDBNullValue
178183#endif
0 commit comments