Entity Framework: Ignore Columns

前端 未结 6 1054
谎友^
谎友^ 2020-11-29 07:11

I have a database that I wish to build an EF model from, however I do not want to include certain columns from the database as the columns concerned are maintained exclusive

6条回答
  •  眼角桃花
    2020-11-29 07:47

    Can you not create a view with the columns you need and import it through entity function wizard and map it to your entities?

提交回复
热议问题