Page 1 of 1

Database first, ignore table

Posted: Sat 24 Mar 2018 02:38
by stevepietrykoski
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!

Re: Database first, ignore table

Posted: Tue 27 Mar 2018 19:43
by Shalex
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.

Re: Database first, ignore table

Posted: Tue 27 Mar 2018 21:12
by stevepietrykoski
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.

Re: Database first, ignore table

Posted: Wed 28 Mar 2018 14:27
by Shalex
We recommend you to move unwanted tables to a separate schema.

Re: Database first, ignore table

Posted: Wed 28 Mar 2018 18:56
by stevepietrykoski
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.

Re: Database first, ignore table

Posted: Thu 29 Mar 2018 08:25
by Shalex