Unless I am misunderstanding what you are saying I think you may have SQL Server and SQLite reversed here:
The CategoryId property is decorated with the [Key] attribute to indicate that it is the
primary key for this entity. The data type for this property is int for SQL Server and long
for SQLite. We did not do this because we followed the naming primary key convention.
Unless I am misunderstanding what you are saying I think you may have SQL Server and SQLite reversed here:
The CategoryId property is decorated with the [Key] attribute to indicate that it is the primary key for this entity. The data type for this property is int for SQL Server and long for SQLite. We did not do this because we followed the naming primary key convention.
For SQLite it used int:
I haven't tried SQL Server yet.