title: Guid property on Mysql Entity Framework
body: <p>I'm using Entity Framework with MySql extension on ASP.NET Core application. One of my domain model <code>Message</code> have Guid property and when I want to execute any operation on my DbContext I'm receiving an error: <code>The property 'Message.ID' is of type 'Guid' which is not supported by current database provider. Either change the property CLR type or manually configure the database type for it.</code>.</p>
  
  <p>How do I "manually configure the database type'? I've read that it should be mapped for CHAR(36), but I couldn't find how to do that on application side.</p>
  
  <p>@UPDATE</p>
  
  <p>When I set the attribute <code>[Column(TypeName = "char(32)")]</code> to the <code>Guid</code> property, error remains.</p>
  
  <p>This method also does not work</p>
  
  <pre><code>protected override void OnModelCreating(ModelBuilder modelBuilder)
  {
    var messageEntity = modelBuilder.Entity&lt; Message&gt;();
    messageEntity.Property(x =&gt; x.ID).
     HasAnnotation("Column", new { TypeName = "char(32)" });
  }
  </code></pre>