Manually Insert Document using dapper SQL #17037
Unanswered
guintujoshua
asked this question in
Q&A
Replies: 1 comment 1 reply
-
What's CATDocument for, is this one row for each content item? Because then you can have that as an index record, and let YesSql fully manage it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to manually insert in CATDocument an item with all its proper Index to other table such as ContentItemIndex, my problem is that CATDocument is not using Identity so i check for the last item's Id, and add it to the table but Orchard does not recognize this so when i use Orchard's UI to add item, it fail with Duplicate PK, because its trying to add Id 4 when i already added that manually with an Stored Procedure.
Question: Is there anyway so that i can make the table CATDocument have Identity or for me to Update Orchard last known Id so that its Sync with my manually added Items?
Beta Was this translation helpful? Give feedback.
All reactions