mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-06 05:37:58 +08:00
Synchronization code
This commit is contained in:
parent
0e383c24f3
commit
260aa889b1
@ -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; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user