- 增加 IFreeSql.InsertOrUpdate 方法 #316

This commit is contained in:
28810
2020-05-21 01:59:35 +08:00
parent 4b7a49d88a
commit 6a443620e7
57 changed files with 4627 additions and 209 deletions

View File

@ -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