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 EF code first and mapped varchar field that contains some diacritics.
Retrieve one record with diacritic, concatenate space (only to enforce updating) and submit changes.
All diacritics updated or inserted with EF are replaced by a dot.
Inserting an equivalent record (with diacritics) by FbCommand and exactly the same connectionstring do not cause this problem.
The text was updated successfully, but these errors were encountered:
I've attached a lite .Net project to give an example,
It seems the problem occurs only when a record is updated not on insert.
The first refresh in UI update the first record and insert another one (Name = "éléphant" for both).
The second refresh show the result of the update ("éléphant" -> ".l.phant" for updated, "éléphant" don't change for inserted).
update :
In the console output i saw that EF uses the type "Text" for this column instead of "VarChar".
I reproduce the same behaviour using FbCommand with a parameter of type "Text" too.
I don't know why but I if I specify "VarChar" in the mapping the update statement continue to use "Text" and do this bug :(
Submitted by: Alexx (ralexx)
Attachments:
Firebird.zip
Votes: 1
I'm using EF code first and mapped varchar field that contains some diacritics.
Retrieve one record with diacritic, concatenate space (only to enforce updating) and submit changes.
All diacritics updated or inserted with EF are replaced by a dot.
Inserting an equivalent record (with diacritics) by FbCommand and exactly the same connectionstring do not cause this problem.
The text was updated successfully, but these errors were encountered: