mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 修复 Aop.AuditValue 与 FreeSql.Repository 主键状态管理的冲突;
This commit is contained in:
@ -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 }
|
||||
}
|
Reference in New Issue
Block a user