mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update InsertNav
This commit is contained in:
parent
a7135ffa7f
commit
6afe01fa64
@ -188,6 +188,7 @@ namespace SqlSugar
|
||||
this._Context.Insertable(insertData)
|
||||
.IgnoreColumns(_RootOptions.IgnoreColumns)
|
||||
.InsertColumns(_RootOptions.InsertColumns)
|
||||
.EnableDiffLogEventIF(_RootOptions.IsDiffLogEvent, _RootOptions.DiffLogBizData)
|
||||
.ExecuteCommand();
|
||||
}
|
||||
else
|
||||
|
@ -11,17 +11,21 @@ namespace SqlSugar
|
||||
{
|
||||
public bool ManyToManyIsDeleteA { get; set; }
|
||||
public bool ManyToManyIsDeleteB { get; set; }
|
||||
public bool IsDiffLogEvent { get; set; }
|
||||
public object DiffLogBizData { get; set; }
|
||||
}
|
||||
public class InsertNavRootOptions
|
||||
{
|
||||
public string[] IgnoreColumns { get; set; }
|
||||
public string[] InsertColumns { get; set; }
|
||||
public bool IsDiffLogEvent { get; set; }
|
||||
public object DiffLogBizData { get; set; }
|
||||
}
|
||||
public class InertNavRootOptions
|
||||
{
|
||||
public string[] IgnoreColumns { get; set; }
|
||||
public string[] InsertColumns { get; set; }
|
||||
}
|
||||
//public class InertNavRootOptions
|
||||
//{
|
||||
// public string[] IgnoreColumns { get; set; }
|
||||
// public string[] InsertColumns { get; set; }
|
||||
//}
|
||||
public class UpdateNavRootOptions
|
||||
{
|
||||
public string[] IgnoreColumns { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user