The problem that you will soon see is that even Power Edition for VS 2015 has EF power tools installed, you are probably using EF7, which has a different way of setting primary keys / configurations in general in objects. You can get POCO objects, but with the wrong namespaces (using EF 6) and overriding
protected override void OnModelCreating(ModelBuilder modelBuilder)
in your dbcontext to handle the relationship instead of the original
class EntityNameMap : EntityTypeConfiguration<EntityName>
configuration file coming from EF6.
stenly May 24 '15 at 1:57 2015-05-24 01:57
source share