title: Disable or turn off the auto generation of mappings based on the POCO properties
body: <p>I am using the Code First constructs to connect to an existing database (which, I know is not code first technically).  I do this so that I can mock out Fake Data Repositories using LINQ to Entities instead of LINQ to SQL.  In the CTP3 last year, this worked great - I could create a new Configuration for my table, and explicitly add the properties of the POCO that were mapped to the database.</p>
  
  <p>In July 2011, Code First was included in EF4.1 so I thought I would upgrade.  Unfortunately, EF is now too smart for my liking. For example, a) all properties of my POCOs are assumed to be mapped to database fields, so for example, a property Person.TempPassword{get;set;} causes the generated SQL to search for a TempPassword column in my Person table; b) if I inherit a class from my POCO (for example, Employee inherits from Person), EF starts generating Discriminator columns etc.</p>
  
  <p>I know that I can resolve the former problem using the Ignore() or [NotMapped] attributes, however that is a big hassle and I'd prefer not to do it. The latter problem I cannot resolve.</p>
  
  <p>All I need is a way to be able to turn off all these smarts, and just let me explicitly set properties as I used to do.  Note that I have tried removing every single one of the constraints as well, for example modelBuilder.Conventions.Remove();</p>
  
  <p>I have also overriden the call to OnModelCreating(), and NOT called base.OnModelCreating(), just included my own Configuration code, as below.</p>
  
  <p>An example of my configuration is:</p>
  
  <pre><code>public class AddressBookConfiguration : EntityTypeConfiguration&lt;AddressBook&gt;{
      public AddressBookConfiguration()
      {
      this.HasKey(x =&gt; x.AddressBookID);
      this.ToTable("AddressBook");
      this.Property(x =&gt; x.AddressBookID);
      this.Property(x =&gt; x.AddressBookName);
      this.Property(x =&gt; x.WhenCreated);
      this.Property(x =&gt; x.TotalItems);
      }
  }
  </code></pre>
  
  <p>Thank you. </p>