title: How does Entity Framework generate a GUID for a primary key value?
body: <p>When we run the ASP.NET application and register the user, Entity Framework automatically sets the unique id (PK) in AspNetUser table:</p>
  
  <p><a href="https://i.stack.imgur.com/lVe4q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lVe4q.png" alt="enter image description here"></a></p>
  
  <p>The same is true for other AspNetRoles, AspNetUserLogins, AspNetUserRoles
  except AspNetUserClaims which has identity enabled.</p>
  
  <p>Can anybody explain how Entity framework create this unique Id? And if we want to create our own table with identity disabled in EF, how will we generate this kind of Id for primary key?</p>