A GUID is a 128-bit number calculated so that it is globally unique after 100 nanoseconds (or so).

However, if you call guid.tostring(), it will return a string in low-case, meanwhile, the GUID in database will be in upper-case.

That could result in some weird problems, unfortunately, I met this kind of issue last week in a project developed in Euro.

You could also vist http://henbo.spaces.live.com/Blog/cns!2E073207A544E12!330.entry, he posted a quite long essay for the same problem.

 

In addition, http://fodonnel.wordpress.com/ shows the same issue when NHibernate and Sqlite.Net working together.

 

相关文章:

  • 2022-12-23
  • 2021-06-22
  • 2021-07-06
  • 2021-12-17
  • 2022-12-23
  • 2021-04-04
  • 2021-08-10
猜你喜欢
  • 2022-12-23
  • 2022-03-03
  • 2021-10-14
  • 2022-12-23
  • 2021-09-25
  • 2022-01-16
  • 2021-11-23
相关资源
相似解决方案