Halo!
I use sqlpp with a big database now.
I won lots of time with sqlpp. :)
I hava a short question.
Is it possible to use type="SMALLINT" for primary key in combination
with auto increment?
When I am use the following table definition
<table id="ZahlungArt" name="ZahlungArt" field-prefix="ZahlungArt"
qualifier="" fixed="false" signed="false" suffix="">
<field id="ZahlungArtID" name="ID" type="SMALLINT"
primary-key="true" />
<identity field-id="ZahlungArtID" start="1" step="1" />
</table>
I get this error:
ZahlungArtDB.cs(62,31): error CS0029: implizite convert from type 'int'
to 'short' is not possible.
Of couse I can life with this behaviour. :)
But maybe it is a bug.
Tomek
|