Database first, ignore table

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
stevepietrykoski
Posts: 3
Joined: Tue 04 Jan 2011 19:49

Database first, ignore table

Post by stevepietrykoski » Sat 24 Mar 2018 02:38

There are several tables in my database which I do not wish to model because they are not compatible with entity framework's primary key requirements. Is there any way to ignore these tables so that they do not keep coming up when I update the model from the database? Thanks!

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Database first, ignore table

Post by Shalex » Tue 27 Mar 2018 19:43

Once you clear selection of these tables in the Update From Database wizard, Entity Developer will remember your choice, and these particular tables will be unselected in the next runs of the wizard.

stevepietrykoski
Posts: 3
Joined: Tue 04 Jan 2011 19:49

Re: Database first, ignore table

Post by stevepietrykoski » Tue 27 Mar 2018 21:12

Thanks, I am aware of this behavior. The problem is when I have new tables I do want, everything is unchecked and I have to look through the list and remember which ones I don't want. There are a couple dozen tables I never want, and mixed in are the two or three that got added.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Database first, ignore table

Post by Shalex » Wed 28 Mar 2018 14:27

We recommend you to move unwanted tables to a separate schema.

stevepietrykoski
Posts: 3
Joined: Tue 04 Jan 2011 19:49

Re: Database first, ignore table

Post by stevepietrykoski » Wed 28 Mar 2018 18:56

I have to say this is a pointless answer. It would be much better to consider how to solve the actual problem, even if it is something you cannot commit to now.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Database first, ignore table

Post by Shalex » Thu 29 Mar 2018 08:25


Post Reply