The sample code is:
public class OrderSagaData : IContainSagaData { public Guid Id { get; set; } public string Originator { get; set; } public string OriginalMessageId { get; set; } [Unique] public string OrderId { get; set; } }
The solution is to mark all the properties as virtual.
No comments:
Post a Comment