Is it good idea to use uint instead of int as the primary key in data model class?

前端 未结 4 1338
臣服心动
臣服心动 2020-12-18 18:45

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 cl

4条回答
  •  难免孤独
    2020-12-18 19:22

    I think it's bad idea, cause of int type is more optimized for using in .NET Framework.

提交回复
热议问题