Hi Frans,
I understand auditInfo.EmaEmployeeId = ((InkEmployeeEntity)entity).EmaEmployeeId but...
What I need to do in DI (please give .net core 8 code example)...
As I need to audit from scratch - what can I read and how to setup 1.2.3. from beginning would like to read so send me info.
My Audit table is...
CREATE TABLE [dbo].[inkEmployeeAudit](
[emaEmployeeAuditId] [INT] IDENTITY(1,1) NOT NULL,
[emaEmployeeId] [INT] NOT NULL,
[emaDateTime] [DATETIME] NOT NULL,
[emaOperationGUID] [UNIQUEIDENTIFIER] NOT NULL,
[emaAuditByFullName] VARCHAR NOT NULL,
[emaAuditTypeId] [INT] NOT NULL,
[emaEntityName] VARCHAR NOT NULL,
[emaFieldName] VARCHAR NOT NULL,
[emaData] VARCHAR NOT NULL,
[emaAuditIsDeleted] [BIT] NOT NULL,
Also emaAuditByFullName is email address which is in UI how I will get from UI to entity?