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
What is C? C is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It is a very popular language, despite being old. C is strongly associated with UNIX, as it was developed to write the UNIX operating system.
C programming language is a machine-independent programming language that is mainly used to create many types of applications and operating systems such as Windows, and other complicated programs such as the Oracle database, Git, Python interpreter, and games and is considered a programming foundation in the process of ...
While C and C++ may sound similar, their features and usage differ. C is a procedural programming language that support objects and classes. On the other hand C++ is an enhanced version of C programming with object-oriented programming support.
C is a general-purpose language that most programmers learn before moving on to more complex languages. From Unix and Windows to Tic Tac Toe and Photoshop, several of the most commonly used applications today have been built on C. It is easy to learn because: A simple syntax with only 32 keywords.
if you use EF6, you should using System.Data.Entity.Core.Metadata.Edm.
You need to add the reference System.Data.Entity.dll.
You can also check which assembly is need to some class in msdn
For example, for the EntityType:
http://msdn.microsoft.com/en-us/library/system.data.metadata.edm.entitytype.aspx
And you will see there the information about the assembly:
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Make sure you have referenced System.Data.Entity.dll
in your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With