-
-
Notifications
You must be signed in to change notification settings - Fork 527
Closed
Description
I'm trying to use the revision approach for the concurrency problem.
This is my entity
public class public class Notification : IRevisioned
{
public string Id { get; set; }
// other props
public int Version { get; set; }
}Then when updating the document, I got this exception
Marten.Exceptions.DocumentIdTypeMismatchException: Invalid id of type string for document type Domain.Notification.
Unsure what went wrong with the above code?
Version: 7.16.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels