title: EF Core use Oracle ROWID as primary key
body: <p>I have an Oracle table that has no primary key (and no, I cannot change the schema). I've been able to implement CRUD operations on it other than Create by using rowid as a primary key:</p>
  <pre class="lang-cs prettyprint-override"><code>//Inside OnModelCreating, modelBuilder.Entity&lt;Foo&gt;()
  eb.Property(foo =&gt; foo.Rowid)
      .HasColumnType(&quot;ROWID&quot;)
      .ValueGeneratedOnAdd();
  eb.HasKey(foo =&gt; foo.Rowid);
  </code></pre>
  <p>But I get an Oracle error when I try to insert a new record, even though I have indicated that the rowid column shouldn't have a generated value. The SQL looks like this where <code>p0</code> is a GUID:</p>
  <pre><code>BEGIN
  
  INSERT INTO &quot;FOOS&quot; (&quot;ROWID&quot;, ...)
  VALUES (:p0, ...);
  END;
  </code></pre>
  <p>How can I configure EF Core to skip the column when inserting?</p>