title: How to know project is code-first or database-first?
body: <p>In an existing project, how do I know if it's code-first or database-first?</p>
  
  <p>Project has this lines of code:</p>
  
  <pre><code>public class TestDBContext : DbContext
  {
      public DbSet&lt;Player&gt; Players { get; set; }
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          modelBuilder.Conventions.Remove&lt;PluralizingTableNameConvention&gt;();
      }
  }
  </code></pre>
  
  <p>And project has no <code>.edmx</code> file. If any other details need I will share.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Player.cs class</p>
  
  <pre><code>public class Player
  {
      public int PlayerID { get; set; }
      public string PlayerName { get; set; }
  }
  </code></pre>
  
  <p><strong>EDIT 12.05.2017</strong></p>
  
  <p>IF I change <code>database name</code> from <code>connection string</code> and run project, it creates <code>database with the new name</code> <code>with all tables</code>. May be this will be hit for the answer.</p>