title: Map Guid Property to Oracle in Entity Framework Code First
body: <p>I am trying to map a Guid property to Oracle. Here's its declaration:</p>
  
  <pre><code>[Key]
  [Column(Order = 0, TypeName = "RAW")]
  [MaxLength(16)]
  [DatabaseGenerated(DatabaseGeneratedOption.None)]
  public Guid Id { get; set; }
  </code></pre>
  
  <p>However, I keep getting the following exception:</p>
  
  <p>Schema specified is not valid. Errors:</p>
  
  <pre><code>(7,12) : error 2019: Member Mapping specified is not valid. The type 'Edm.Guid[Nullable=False,DefaultValue=]' of member 'Id' in type 'Model.Test' is not compatible with 'OracleEFProvider.raw[Nullable=False,DefaultValue=,MaxLength=2000,FixedLength=False]' of member 'Id' in type 'CodeFirstDatabaseSchema.Test'.
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p>Thanks!</p>
  
  <p>RP</p>