Macy Fonseca
Macy Fonseca
It seams that you got the configuration of **HasConvertion()** wrong. According to this [link](https://docs.microsoft.com/en-us/ef/core/modeling/value-conversions?tabs=data-annotations) you should do something like: `builder.Entity().Property(s => s.Status).HasColumnType("varchar(100)").HasConversion( v => v.ToString(), v => (ServiceStatus)Enum.Parse(typeof(ServiceStatus), v));`
I wasn't aware of **pre-defined conversions** and either tested if my suggestion works 😅 I thought that probably that was the problem, since it was complaining about the conversion.
I'm facing the same issue, and the suggestion by @kjkrum was great, but for those who does not have much experience with extension creation this can be "painful" and make...
> The syntax for multiple actions is > > ``` > modelBuilder.Entity() > .AfterUpdate(trigger => trigger > .Action(action => action.Update(...) > .Action(action => action.Update(...)); > ``` Thanks you for the...