mercredi 5 août 2015

Can Entity Framework 6 handle SQLite databases which have columns with mixed types?

When creating the edm model, each column must have a specific type, e.g. Double or String.

But SQLite supports having data with different types in the same column. For example, one row with a REAL and one row with a TEXT in the same column.

In that case, whatever type I choose for that column in the edm, I get an error at runtime saying it failed to cast the value.

Is there any way around this?

Aucun commentaire:

Enregistrer un commentaire