mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 优化 非法导航属性定义异常提示;
This commit is contained in:
@ -483,7 +483,11 @@ namespace FreeSql.Internal.CommonProvider
|
||||
var curPropName = parentNameSplits[k];
|
||||
if (curTb.Table.Properties.TryGetValue(parentNameSplits[k], out var tryprop) == false)
|
||||
{
|
||||
k++;
|
||||
if (++k >= parentNameSplits.Length)
|
||||
{
|
||||
iscontinue = true;
|
||||
break;
|
||||
}
|
||||
curPropName = $"{curPropName}__{parentNameSplits[k]}";
|
||||
if (curTb.Table.Properties.TryGetValue(parentNameSplits[k], out tryprop) == false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user