- Where Developers Learn, Share, & Build Careers


I want to create an EDM from my database file (.mdf), but I do not want to work with all the columns. How do I leave these columns with .edmx?

You can not choose specific column of time generation. But, if you only want to work with a subset of the column, then the EDM produces the entire table; Then in the surface of the designer you can select the columns you do not need and press remove to remove them from the model.

A note is that if there are some obstacles in your database, such as non-blank columns are not a default value, if you try to add or update entities without those pillars in your model If an exception will be thrown.

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -