I created a Devart EF Core model and a Complex type inside (called "Luogo" aka "Location).
Luogo complex type is composed by some properties, like "PosizioneGEO" of type
"Geography".
I update model and db (sql server 2014) correctly but when I run the application (asp.net mvc
core) it appears this error:
How can I manage this error ?InvalidOperationException: The property 'Fattura.ClienteIndirizzo#Luogo.PosizioneGeo' is of type 'Geometry' which is not supported by current database provider. Either change the property CLR type or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
What's the source of it ?