You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Ulid with EF Core and everything works fine when I use linq queries but the application throws an error when I use the ExecuteSqlInterpolatedAsync
internalclassUlidToStringConverter:ValueConverter<Ulid,string>{publicUlidToStringConverter():base(convertToProviderExpression: x =>x.ToString(),convertFromProviderExpression: x =>Ulid.Parse(x)){}}
Unhandled exception rendering component: The current provider doesn't have a store type mapping for properties of type 'Ulid'.
System.InvalidOperationException: The current provider doesn't have a store type mapping for properties of type 'Ulid'.
I'm using Ulid with EF Core and everything works fine when I use linq queries but the application throws an error when I use the
ExecuteSqlInterpolatedAsync
I have this DbContext
The converter
This query throws
This query works
Do you have any idea why is this happening and how should I solve that ?
Thanks a lot.
The text was updated successfully, but these errors were encountered: