linq2db.EntityFrameworkCore
linq2db.EntityFrameworkCore copied to clipboard
LinqToDBConvertException with array of enums
Hi. I have System.DayOfWeek[] property inside on of my EF DbSet tables, and when I try to load this item from database, I get LinqToDBConvertException - {"Cannot convert value 'System.Int32[]: System.Int32[]' to type 'System.DayOfWeek[]'"}
Can you point me to additional configuration for proper mapping I have to do? Some attributes or something?
The database is Postgres, the driver is Npgsql if it's important.
I have done nothing additional except LinqToDBForEFTools.Initialize();