Class AuditValueEventArgs
Inheritance
System.Object
System.EventArgs
AuditValueEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FreeSql.Aop
Assembly: FreeSql.dll
Syntax
public class AuditValueEventArgs : EventArgs
Constructors
| Improve this Doc View SourceAuditValueEventArgs(AuditValueType, ColumnInfo, PropertyInfo, Object, Object)
Declaration
public AuditValueEventArgs(AuditValueType auditValueType, ColumnInfo column, PropertyInfo property, object value, object obj)
Parameters
Type | Name | Description |
---|---|---|
AuditValueType | auditValueType | |
ColumnInfo | column | |
System.Reflection.PropertyInfo | property | |
System.Object | value | |
System.Object | obj |
Properties
| Improve this Doc View SourceAuditValueType
类型
Declaration
public AuditValueType AuditValueType { get; }
Property Value
Type | Description |
---|---|
AuditValueType |
Column
属性列的元数据
Declaration
public ColumnInfo Column { get; }
Property Value
Type | Description |
---|---|
ColumnInfo |
Object
实体对象
Declaration
public object Object { get; }
Property Value
Type | Description |
---|---|
System.Object |
ObjectAuditBreak
中断实体对象审计
false: 每个实体对象的属性都会审计(默认)
true: 每个实体对象只审计一次
Declaration
public bool ObjectAuditBreak { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Property
反射的属性信息
Declaration
public PropertyInfo Property { get; }
Property Value
Type | Description |
---|---|
System.Reflection.PropertyInfo |
Value
获取实体的属性值,也可以设置实体的属性新值
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ValueIsChanged
Declaration
public bool ValueIsChanged { get; }
Property Value
Type | Description |
---|---|
System.Boolean |