Base solution for your next web application
Open Closed

IRepository<Entity> not registered exception throws when an entity has PRIMARY KEY as String. #6554


User avatar
0
kalidarscope created

Hi , I have an entity called ASAPSCRIPTS and column REC_ID as string type created as Primary Key. when I call service it throws IRepository<ASAPSCRIPTS> not registered.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Try use IRepository<Entity, string>

  • User Avatar
    0
    kalidarscope created

    could you share where have to change.

  • User Avatar
    0
    kalidarscope created

    its working . thanks!