mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-11-03 08:55:26 +08:00
- 增加 [Navigate(xx, TempPrimary = xx)] 与非主键关联;(仅支持查询)
This commit is contained in:
@@ -409,7 +409,7 @@ public static partial class FreeSqlGlobalExtensions
|
||||
#endif
|
||||
return list;
|
||||
}
|
||||
var tbtr = t1tb.GetTableRef(props[0], true);
|
||||
var tbtr = t1tb.GetTableRef(props[0], true, true);
|
||||
if (tbtr == null) throw new ArgumentException(CoreStrings.ParameterError_NotValid_Navigation(nameof(property)));
|
||||
var reftb = orm.CodeFirst.GetTableByEntity(t1exp.Type);
|
||||
var refsel = orm.Select<object>().AsType(t1exp.Type) as Select1Provider<object>;
|
||||
|
||||
Reference in New Issue
Block a user