mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Optimize error message
This commit is contained in:
parent
9e6a1f8406
commit
5a7b5ca8b9
@ -117,6 +117,14 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return GetOneToManySql();
|
return GetOneToManySql();
|
||||||
}
|
}
|
||||||
|
else if (Navigat.NavigatType == NavigateType.Dynamic)
|
||||||
|
{
|
||||||
|
Check.ExceptionEasy(
|
||||||
|
true,
|
||||||
|
" NavigateType.Dynamic no support expression . " + this.ProPertyEntity.Type.Name,
|
||||||
|
" NavigateType.Dynamic 自定义导航对象不支持在Where(x=>x.自定义.Id==1)等方法中使用" + this.ProPertyEntity.Type.Name);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return GetManyToManySql();
|
return GetManyToManySql();
|
||||||
|
Loading…
Reference in New Issue
Block a user