Marten.Exceptions.InvalidDocumentException: Could not determine an 'id/Id' field or property for requested document type System.Linq.IGrouping`2[[System.String, System.Private.CoreLib #2435
-
When i try
I got exception
|
Beta Was this translation helpful? Give feedback.
Answered by
mysticmind
Dec 22, 2022
Replies: 1 comment
-
@borgez Please check docs https://martendb.io/documents/identity.html#document-identity.
If you want to use a different property name as identifier then check https://martendb.io/documents/identity.html#overriding-the-choice-of-id-property-field |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mysticmind
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@borgez Please check docs https://martendb.io/documents/identity.html#document-identity.
If you want to use a different property name as identifier then check https://martendb.io/documents/identity.html#overriding-the-choice-of-id-property-field