Class AuditLogService
- Namespace
- JJMasterData.Core.DataManager.Services
- Assembly
- JJMasterData.Core.dll
public class AuditLogService
- Inheritance
-
AuditLogService
- Inherited Members
-
Constructors
AuditLogService(IEntityRepository, IOptionsSnapshot<MasterDataCoreOptions>, IStringLocalizer<MasterDataResources>)
public AuditLogService(IEntityRepository entityRepository, IOptionsSnapshot<MasterDataCoreOptions> options, IStringLocalizer<MasterDataResources> stringLocalizer)
Parameters
entityRepository
IEntityRepository
options
IOptionsSnapshot<MasterDataCoreOptions>
stringLocalizer
IStringLocalizer<MasterDataResources>
Fields
DicAction
public const string DicAction = "actionType"
Field Value
- string
DicBrowser
public const string DicBrowser = "browser"
Field Value
- string
DicId
public const string DicId = "id"
Field Value
- string
DicIp
public const string DicIp = "ip"
Field Value
- string
DicJson
public const string DicJson = "json"
Field Value
- string
DicKey
public const string DicKey = "recordKey"
Field Value
- string
DicModified
public const string DicModified = "modified"
Field Value
- string
DicName
public const string DicName = "dictionary"
Field Value
- string
DicOrigin
public const string DicOrigin = "origin"
Field Value
- string
DicUserid
public const string DicUserid = "userId"
Field Value
- string
Methods
GetElement(Guid?)
public Element GetElement(Guid? connectionId)
Parameters
connectionId
Guid?
Returns
- Element
public FormElement GetFormElement(FormElement formElement)
Parameters
formElement
FormElement
Returns
- FormElement
GetKey(Element, Dictionary<string, object>)
public static string GetKey(Element element, Dictionary<string, object> values)
Parameters
element
Element
values
Dictionary<string, object>
Returns
- string
LogAsync(Element, DataContext, Dictionary<string, object>, CommandOperation)
public Task LogAsync(Element element, DataContext dataContext, Dictionary<string, object> formValues, CommandOperation action)
Parameters
element
Element
dataContext
DataContext
formValues
Dictionary<string, object>
action
CommandOperation
Returns
- Task