We know that the primary keys are usually positive integers.
Is it good idea to use uint instead of int as the primary key in data model class?
Example:
public class Customer
{
public uint CustomerId {get;set;}
//others are omitted for the sake of simplicity.
}
The corresponding SQL data type is a signed number, so I’d stick with the
intto avoid any surprises.