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.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Try use IRepository<Entity, string>

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    kalidarscope created

    could you share where have to change.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    kalidarscope created

    its working . thanks!

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)