Home > Net >  Cooking chicken questions
Cooking chicken questions

Time:10-19

Winfron how to guarantee the uniqueness of account

CodePudding user response:

Account is set to the ID column or heavy check

CodePudding user response:

A classified as identity column or more columns only,

CodePudding user response:

reference 1/f, the wise know already should good karma response:
account Settings for the ID column or heavy check

But how do I register let him randomly generated le

CodePudding user response:

reference 1/f, the wise know already should good karma response:
account Settings for the ID column or heavy check

Means I want him to read to the end of the database, a data, and then let it from 1-6, display in the textbox control

CodePudding user response:

1 on the id
2 uuid

CodePudding user response:

The account id is a unique identifier, which is set as primary key
If you want to randomly generated with the GUID

CodePudding user response:

Using the GUID
Guid id=new Guid ();

CodePudding user response:

Guid id=Guid. NewGuid ();

CodePudding user response:

Account is set to a unique ID in the database
  •  Tags:  
  • C#
  • Related