C# using System.Data.Metadata.Edm

Viewed 7752

I am trying to use EntityType class, but I get an error when I try to use it. I did some digging and it appears I need to use this System.Data.Metadata.Edm.

I tried this...

using System.Data.

and I enter the . Metadata does not appear as an option....any suggestions

I am new at this.

I am using .NET Framework 3.5

5 Answers

Please use the following namespace if you are upgrading from EF5 to EF6 Replace System.Data.Metadata.Edm.RelationshipMultiplicity with System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity, need not change anything else apart from above because it solves my problem

Related