title: parsing guid representation
body: <p>I'm using mapping by code approach and convention to generate sqllite db tables on the fly.</p>
  
  <p>Id property is mapped like this using Guid.Comb algorithm.</p>
  
  <pre><code>Id(x =&gt; x.Id, m =&gt; m.Generator(Generators.GuidComb));
  </code></pre>
  
  <p>Tests seems to be ok except one thing, inside my db table Id property is inserted in format like this <code>X'0A16BBC77771594D9990A166014C54F6'</code>. </p>
  
  <p>I'm wondering why is saved that way and not in format like <code>aaaef973-d8ce-4c92-95b4-3635bb2d42d5</code>
  and how can I parse this guid representation <code>X'0A16BBC77771594D9990A166014C54F6'</code></p>
  
  <p>Thanks</p>
  
  <p>UPdate:
  thanks to answers bellow I tried like following</p>
  
  <pre><code>Guid id = Guid.ParseExact("X'0A16BBC77771594D9990A166014C54F6'", "N");
  </code></pre>
  
  <p>now I'm gettng this error </p>
  
  <p><code>Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).</code></p>
  
  <p>I don't need string representation of Guid, I want to use it as identifier when quering database like  <code>p = session.Get&lt;Permission&gt;(id);</code> </p>