我得到了这个例外,我确实确保它不会被抛出。
could not execute query
[ select TOP (1) customerre0_.Id as Id6_, customerre0_.SystemId as SystemId6_, customerre0_.CustomerGuid as Customer3_6_, customerre0_.UserName as UserName6_, customerre0_.Email as Email6_, customerre0_.CreatedDateTime as CreatedD6_6_, customerre0_.InstId as Institut7_6_, customerre0_.DistId as Distribu8_6_ from CustomerRecord customerre0_ where customerre0_.SystemId=@p0 ]
Name:p1 - Value:2
[SQL: select TOP (1) customerre0_.Id as Id6_, customerre0_.SystemId as SystemId6_, customerre0_.CustomerGuid as Customer3_6_, customerre0_.UserName as UserName6_, customerre0_.Email as Email6_, customerre0_.CreatedDateTime as CreatedD6_6_, customerre0_.InstId as Institut7_6_, customerre0_.DistId as Distribu8_6_ from CustomerRecord customerre0_ where customerre0_.SystemId=@p0]'
注意我在.Model
命名空间上有我的模型和ID。该表也存在。
任何提示都非常感谢