AuditHierarchyConfigurationExpression<(Of <(<'T>)>)>..::..AuditRelation<(Of <(<'TRel>)>)> Method
Audits the relation.
Namespace:
Dal.Audit
Assembly:
Dal.Audit (in Dal.Audit.dll)
Syntax
public IAuditHierarchyTableConfigurationExpression<T> AuditRelation<TRel>( Expression<Func<T, IEnumerable<TRel>>> relationCollection, Expression<Func<TRel, int>> fkField, Expression<Func<TRel, Object>> auditableField, Expression<Func<TRel, Object>> descriptionExpression )
Type Parameters
- TRel
- The type of the t relative.
Parameters
- relationCollection
- Type: Expression<(Of <(<'Func<(Of <(<'T, IEnumerable<(Of <(<'TRel>)>)>>)>)>>)>)>
The relation collection.
- fkField
- Type: Expression<(Of <(<'Func<(Of <(<'TRel, Int32>)>)>>)>)>
The fk field.
- auditableField
- Type: Expression<(Of <(<'Func<(Of <(<'TRel, Object>)>)>>)>)>
The auditable field.
- descriptionExpression
- Type: Expression<(Of <(<'Func<(Of <(<'TRel, Object>)>)>>)>)>
The description expression.