示例:

public Guid _CurrentApplayInfoID { get; set; }

  

如何判断不是初始值"00000000-0000-0000-0000-000000000000"

 

解决方法:

  var g1 = new Guid("00000000-0000-0000-0000-000000000000");

  或

 var g1 = default(Guid);

g1

_CurrentApplayInfoID 
对比即可!

相关文章:

  • 2022-01-27
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-10-04
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2021-09-06
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
相关资源
相似解决方案