Search found 2 matches

by frabiacca
Tue 17 May 2022 15:01
Forum: Entity Developer
Topic: ConcurrencyMode conflict in EntityFrameworkCore
Replies: 1
Views: 9005

ConcurrencyMode conflict in EntityFrameworkCore

Hi guys,
we're trying to cope with Concurrency conflicts in Entity Framework. We're using asp.net core 3.1 and Microsoft.EntityFrameworkCore 3.1.8

We're following this documentation page

https://www.entityframeworktutorial.net ... ework.aspx

We can't find neither ConcurrencyMode property nor "Fixed" values when we click on property edit field. Moreover, we can't find Timestamp type in property types list we can choose from.

How can we manage with this?
by frabiacca
Thu 10 Sep 2020 12:41
Forum: Entity Framework support
Topic: Geography property in complex type
Replies: 2
Views: 4216

Geography property in complex type

Hi guys,
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:
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'.
How can I manage this error ?
What's the source of it ?