sebastienros/yessql

Creating a table with an int Primary Key is using the bigint datatype.

Opened this issue · 0 comments

Creating a table with an int Primary Key now is using the bigint datatype.

[Column("EntryId")]
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int EntryId { get; internal set; }

This is a breaking change.
Besides that, shouldn't it only create as bigint if the type is long?