标签:style blog color ar sp div on log new
byte[] buffer = Guid.NewGuid().ToByteArray(); return BitConverter.ToInt64(buffer, 0);
即可生成long形的pid
通过GUID生成可持久化的PID
原文地址:http://www.cnblogs.com/FEAUOR/p/4072275.html