I am trying to solve my problem by following this post. But in my code i can't find
.IsIndependent()
extension method.
Here is my code :
using System.Data.Entity;
modelBuilder.Entity<UnitInformation>()
.HasOptional(x => x.SectionInformations)
.WithMany()
.IsIndependent()
.IsIndependent()
does not contain a definition for 'IsIndependent' and no extension method 'IsIndependent' accepting a first argument of type could be found (are you missing a using directive or an assembly reference?
Am I missing any assembly reference ?
I am using
Entity Framework 5.0
.Net 4.5
Visual Studio 2012