title: Effort Entity Framework Sequence contains not matching elements
body: <p>So I've been trying to setup Effort and am not having much success.  Looking on their site and people's comments it looks pretty straightforward.  </p>
  
  <p>I started small because I just wanted to test if it works.  The error I get is
  "Sequence contains no matching element"</p>
  
  <p>I've added a constructor like so to the dbcontext.</p>
  
  <pre><code>public ApplicationDbContext(DbConnection connection) 
          : base(connection, true)
      {
      }
  </code></pre>
  
  <p>My setup like so for my test</p>
  
  <pre><code>var connection = Effort.DbConnectionFactory.CreateTransient();
  var context = new ApplicationDbContext(connection );
  </code></pre>
  
  <p>Just a test to see if it works</p>
  
  <pre><code>context.Set&lt;MyType&gt;().Add(new MyType() {Description = "test"});
  </code></pre>
  
  <p>Class for MyType</p>
  
  <pre><code>public class MyType
      {
          [Key]
          public byte Id { get; set; }
  
          [Required, MaxLength(50)]
          public string Description { get; set; }
      }
  </code></pre>
  
  <p>I have also tried this with the createpersistent.  Same result.  </p>
  
  <p>I am using ef6 code first, mvc 5, .net 462.</p>