title: Cannot get records with entity framework
body: <p>I have an SqLite db which have category table. Category table has 3 columns, Id: int, name: varchar, and ObjectID: int</p>
  
  <p>I wrote entity for this table:</p>
  
  <pre><code>class Category
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public int ObjectId { get; set; }
  }
  </code></pre>
  
  <p>and I also have a context:</p>
  
  <pre><code>class DEContext: DbContext
  {
      public DbSet&lt;Category&gt; Categories { get; set; }
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          modelBuilder.Conventions
              .Remove&lt;PluralizingTableNameConvention&gt;();
      }
  }
  </code></pre>
  
  <p>Now when I try to get categories with context.Categories I receive <code>System.Data.SQLite.SQLiteException</code>:</p>
  
  <blockquote>
    <blockquote>
      <p>SQL logic error or missing database\r\nno such column: Extent1.Object_Id</p>
    </blockquote>
  </blockquote>
  
  <p>The query looks like:</p>
  
  <pre><code>SELECT
      [Extent1].[Id] AS [Id],
      [Extent1].[Name] AS [Name],
      [Extent1].[ObjectId] AS [ObjectId],
      [Extent1].[Object_Id] AS [Object_Id]
  FROM [Category] AS [Extent1]} System.Data.Entity.DbSet&lt;Category&gt; 
  </code></pre>
  
  <p>I don't know where the Object_Id is from. I don't have such column in db and I don't use such name in my whole project.</p>
  
  <p>I use <a href="http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki" rel="nofollow noreferrer">System.Data.SQLite</a></p>