- 修复 Aop.AuditValue 与 FreeSql.Repository 主键状态管理的冲突;

This commit is contained in:
28810
2019-08-31 03:00:17 +08:00
parent 16bd3941c5
commit baf6d768a4
14 changed files with 514 additions and 52 deletions

View File

@ -273,18 +273,18 @@ namespace FreeSql.Aop
public class AuditValueEventArgs : EventArgs
{
public AuditValueEventArgs(AutoValueType autoValueType, ColumnInfo column, PropertyInfo property, object value)
public AuditValueEventArgs(AuditValueType autoValueType, ColumnInfo column, PropertyInfo property, object value)
{
this.AutoValueType = autoValueType;
this.AuditValueType = autoValueType;
this.Column = column;
this.Property = property;
this.Value = value;
this._value = value;
}
/// <summary>
/// 类型
/// </summary>
public AutoValueType AutoValueType { get; }
public AuditValueType AuditValueType { get; }
/// <summary>
/// 属性列的元数据
/// </summary>
@ -308,5 +308,5 @@ namespace FreeSql.Aop
private object _value;
public bool IsChanged { get; private set; }
}
public enum AutoValueType { Update, Insert }
public enum AuditValueType { Update, Insert }
}