So, in SQLite, it doesn't matter if I create a table with a column of int,
smallint or long type, it will always be trated as a INTEGER type of 64
bits?

Regards

El mié., 7 ago. 2019 a las 9:01, Clemens Ladisch (<clem...@ladisch.de>)
escribió:

> Ainhoa B wrote:
> > My database has tables with int values and DateTime values. When I
> execute
> > the scaffold command to convert the tables of the database to models in
> > .NET Framework, my colums of type int are being converted to long
>
> SQLite's INTEGER type has 64 bits.  The framework assumes that such columns
> can have 64-bit values (probably written into the DB by somebody else).
>
>
> Regards,
> Clemens
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to