uniqueidentifier Equivalent DataType In C#
what is uniqueidentifier (Sql server 2005) equivalent in C# 3.5 data开发者_运维问答type ?
It should be System.Guid or Nullable<Guid>
System.Guid.NewGuid()
Use System.Guid
Example :
public string CustID { get; set; }
public System.Guid ActivationCode { get; set;}
精彩评论