- 增加 [Navigate(xx, TempPrimary = xx)] 与非主键关联;(仅支持查询)

This commit is contained in:
2881099
2023-03-02 15:46:45 +08:00
parent c6556a47ab
commit da7bb7c74d
14 changed files with 243 additions and 101 deletions

View File

@ -377,7 +377,7 @@ namespace FreeSql
continue;
}
if (cascade == false) continue;
var tbref = table.GetTableRef(prop.Name, false);
var tbref = table.GetTableRef(prop.Name, false, false);
if (tbref == null) continue;
var boundaryAttr = GetPropertyBoundaryAttribute(prop, boundaryName);
if (boundaryAttr?.Break == true) continue;