in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Integer Identity Column Conversions

Last post 07-07-2010 10:56 AM by grrrrrrrrrrrrrrrrrr. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-07-2010 10:56 AM

    Integer Identity Column Conversions

    The SQLite entity designer always maps the Integer PrimaryKey AutoIncrement columns as int64. However, I would like to be able to re-use some POCO objects that are generated from a SQLServer database that uses simple integer primary keys (these map to int types in the POCO model). Is it possible to either get the ADO.Net adapter to convert the values of the ids from int64 back to standard int32s or do something similar in the EDMX file? Thanks for any assistance.
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems