开发者

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;}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜