19

what is uniqueidentifier (Sql server 2005) equivalent in C# 3.5 datatype ?

3 Answers 3

27

It should be System.Guid or Nullable<Guid>

Sign up to request clarification or add additional context in comments.

Comments

1

System.Guid.NewGuid()

Comments

1

Use System.Guid

Example :

 public string CustID { get; set; } public System.Guid ActivationCode { get; set;} 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.