Esempio n. 1
0
 public List <SqlParameter> MapParamsForUpsert(AuditLogData entity) => new List <SqlParameter>
 {
     new SqlParameter("@audit_log_key", entity.AuditLogKey),
     new SqlParameter("@audit_action", entity.AuditAction),
     new SqlParameter("@audit_bus_obj", entity.AuditBusObj),
     new SqlParameter("@audit_datetime", entity.AuditDatetime),
     new SqlParameter("@audit_user_id", entity.AuditUserId),
     new SqlParameter("@audit_app_name", entity.AuditAppName),
     new SqlParameter("@audit_host_name", entity.AuditHostName),
     new SqlParameter("@audit_comment", entity.AuditComment),
     new SqlParameter("@audit_data_old", entity.AuditDataOld),
     new SqlParameter("@audit_data_new", entity.AuditDataNew),
     GetOutParam()
 };
Esempio n. 2
0
 public List <SqlParameter> MapParamsForDelete(AuditLogData entity) => MapParamsForDelete(entity.AuditLogKey);