mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update Nav Update One To Many
This commit is contained in:
@@ -42,6 +42,10 @@ namespace SqlSugar
|
||||
children.AddRange(childs);
|
||||
}
|
||||
ids.Add(parentValue);
|
||||
if (_Options?.OneToManyNoDeleteNull == true && childs == null)
|
||||
{
|
||||
ids.Remove(parentValue);
|
||||
}
|
||||
}
|
||||
if (NotAny(name))
|
||||
{
|
||||
|
@@ -49,6 +49,7 @@ namespace SqlSugar
|
||||
public bool ManyToManyEnableLogicDelete { get; set; }
|
||||
public bool OneToManyDeleteAll { get; set; }
|
||||
public bool OneToManyEnableLogicDelete { get; set; }
|
||||
public bool OneToManyNoDeleteNull { get; set; }
|
||||
public Expression RootFunc { get; set; }
|
||||
public Expression CurrentFunc { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user