- 完善 DbContext/UnitOfWork EntityChange 更新对象之前的值;

This commit is contained in:
28810
2020-08-05 13:43:49 +08:00
parent dcb4fef9e2
commit dfac943495
6 changed files with 24 additions and 12 deletions

View File

@ -243,6 +243,10 @@ namespace FreeSql
public class ChangeInfo
{
public object Object { get; set; }
/// <summary>
/// Type = Update 的时候,获取更新之前的对象
/// </summary>
public object BeforeObject { get; set; }
public EntityChangeType Type { get; set; }
}
/// <summary>