An interceptor that operates pre-save to add audit information to the records being committed that implement the Highway.Data.Interfaces.IAuditableEntity interface
More...
List of all members.
Properties |
int | Priority [get, set] |
| The priority order that this interceptor has for ordered execution by the event manager
|
Detailed Description
An interceptor that operates pre-save to add audit information to the records being committed that implement the Highway.Data.Interfaces.IAuditableEntity interface
Constructor & Destructor Documentation
Highway.Data.Interceptors.AuditableInterceptor.AuditableInterceptor |
( |
IUserNameService |
userNameService, |
|
|
int |
priority = 0 |
|
) |
| |
|
inline |
Creates a interceptor for audit data attachment
- Parameters:
-
userNameService | Application Service that provides current user name |
priority | The order in the priority stack that the interceptor should operate on |
Member Function Documentation
Executes the interceptor handle an event based on the event arguments
- Parameters:
-
context | The data context that raised the event |
eventArgs | The event arguments that were passed from the context |
- Returns:
- An Interceptor Result
Property Documentation
int Highway.Data.Interceptors.AuditableInterceptor.Priority |
|
getset |
The documentation for this class was generated from the following file:
- Highway.Data.EntityFramework/Interceptors/AuditableInterceptor.cs