Re: [sqlite] Problem with SQLiteCommand.Parameters and CurrentCulture

2014-01-03 Thread Joe Mistachkin
Marcin Szotka wrote: > > In my opinion command parameters should use InvariantCulture when > converting types to string. > Support for doing this (via new connection flags) has now been implemented on trunk, here: https://system.data.sqlite.org/index.html/info/f2f08c2ab7 -- Joe

[sqlite] Problem with SQLiteCommand.Parameters and CurrentCulture

2014-01-03 Thread Marcin Szotka
Hi Look at example from attachement, please. In test InsertDoubleByCommandWithParam you could see problem with storing double by command with parameter. We use Flags=BindAndGetAllAsText. It works: command.CommandText = "INSERT INTO EntA (Id, EntityProperty1, DoubleProperty) VALUES (1,