5 Answer(s)
-
0
Duplicate of #1966 Duplicate of aspnetboilerplate/aspnetboilerplate#1123
-
0
Thanks. But How do I pass data for the column "Custom Data".
I believe the method "CreateAuditInfo(Type type,MethodInfo method, iDictionay<string,object> arguments)" is called internally by the abp Audit provider.
If I need to pass different custom data for different methods in Application Service how do I acheive that ?
Can I get anything else apart from type, method and parameters into the "CreateAuditInfo" method ?.
From What I see, Custom Data can only make use of whatever data that is being passed into this method like TenantId, UserID, arguments, impersonater userid, tenantid and nothing else..is it so ?
-
0
Thanks. But How do I pass data for the column "Custom Data".
I believe the method "CreateAuditInfo(Type type,MethodInfo method, iDictionay<string,object> arguments)" is called internally by the abp Audit provider.
If I need to pass different custom data for different methods in Application Service how do I acheive that ?
Can I get anything else apart from type, method and parameters into the "CreateAuditInfo" method ?.
From What I see, Custom Data can only make use of whatever data that is being passed into this method like TenantId, UserID, arguments, impersonater userid, tenantid and nothing else..is it so ?
-
0
You can use an
IAmbientScopeProvider<YourCustomData>
.AbpSessionBase
andClaimsAbpSession
use such a provider to set and get ambient data respectively. -
0
This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.