Stop Entity Framework from updating edmx model with a column that isn't needed

Posted by TMan on Stack Overflow See other posts from Stack Overflow or by TMan
Published on 2014-06-04T15:10:43Z Indexed on 2014/06/04 15:25 UTC
Read the original article Hit count: 131

I have rowguids in all my tables to help with change tracking in all my tables. I don't want/need these tables in my edmx or my entities. However, I do still need to make changes to other things sometimes so everytime i go to update model from database in the edmx it adds all the rowguids in all my tables everytime and i have to manually delete each one. Is there a way to handle this from happening? Is there a way I can maybe edit the T4 to maybe ignore that 'rowguid' column?

Database first Entity framework

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about ef-code-first