```
public interface IDatabaseContext : IDisposable {

    IDbSet<MyEntity1> Entities1 { get; set; }

}

public class MyDbContext : DbContext, IDatabaseContext {

    IDbSet<MyEntity1> Entities1 { get; set; }

}

```

Can't compile because of the error described in here: <http://msdn.microsoft.com/en-Us/library/bb384253(v=vs.90).aspx>

However, this makes no sence since the interface obviously IS public. What could be the error here?