mercredi 6 mai 2015

How to generate model with DateTime property for SQLite in Entity Framework 6

I am using SQLite with Entity Framework 6, database first. I want my entities to have datetime and boolean types instead of string and long.

I've tried changing types in the edmx diagram, but then I get type incompatibility errors related to column mapping.

Is there a way to use DateTime and Boolean in C# with Entity Framework 6 and SQLite?

If it is possible how to configure/enable this?

Aucun commentaire:

Enregistrer un commentaire