title: Entity Framework Core jsonb column type
body: <p>I am using Entity Framework Core with npgsql postgresql for Entity Framework Core.</p>
  
  <p>My question is, using migrations, how do I mark a class property to generate a JSONB column type?</p>
  
  <p>For example:</p>
  
  <pre><code>public class MyTableClass
  {
      public int Id { get; set; }
  
      // My JSONB column
      public string Data { get; set; }
  }
  </code></pre>
  
  <p>Thanks in advance.</p>