【问题标题】:Store Always Encrypted column values in EF Plus Core Audit在 EF Plus Core Audit 中存储 Always Encrypted 列值
【发布时间】:2020-10-01 08:13:43
【问题描述】:

我目前正在使用 Always Encrypted 来加密 TableA 上的特定列。 我使用 Entity Framework Plus Core 添加了审计日志,但它记录了未加密的表 A 的添加属性。 有没有办法可以将加密值存储在审核日志表中?

【问题讨论】:

    标签: mysql asp.net-core entity-framework-core always-encrypted entity-framework-plus


    【解决方案1】:

    不,它不能。

    EF Plus (https://entityframework-plus.net/ef-core-audit) 的审核功能直接从 ChangeTracker 获取值。因此,它不知道已加密的数据库值。

    没有办法使用此功能。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-07-05
      • 1970-01-01
      • 1970-01-01
      • 2017-04-23
      • 2020-04-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多