mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-08-06 16:12:27 +08:00
- 增加 IFreeSql.InsertOrUpdate 方法 #316
This commit is contained in:
@ -201,7 +201,7 @@ namespace FreeSql.Aop
|
||||
/// </summary>
|
||||
public DbParameter[] DbParms { get; }
|
||||
}
|
||||
public enum CurdType { Select, Delete, Update, Insert }
|
||||
public enum CurdType { Select, Delete, Update, Insert, InsertOrUpdate }
|
||||
public class CurdAfterEventArgs : CurdBeforeEventArgs
|
||||
{
|
||||
public CurdAfterEventArgs(CurdBeforeEventArgs before, Exception exception, object executeResult) :
|
||||
@ -324,7 +324,7 @@ namespace FreeSql.Aop
|
||||
private object _value;
|
||||
public bool IsChanged { get; private set; }
|
||||
}
|
||||
public enum AuditValueType { Update, Insert }
|
||||
public enum AuditValueType { Update, Insert, InsertOrUpdate }
|
||||
#endregion
|
||||
|
||||
#region CommandBefore/After
|
||||
|
Reference in New Issue
Block a user