果园记录(型号无效)

时间:2018-03-19 14:59:00

标签: c# orchardcms

我得到了这个例外,我确实确保它不会被抛出。

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。该表也存在。

任何提示都非常感谢

0 个答案:

没有答案