EntityFramework-Reverse-POCO-Code-First-Generator
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard
Table splitting in DB First
We are using reverse poco to generate pocos and mappings for existing DB. We would like to split a massive table into multiple entities. Tried UpdateColumns to hide some columns and then have put them in a hand written poco. Bound the hand written poco to auto generated poco in a partial class.
Wondering if there is a configuration in ReversePOCO where I can pass collection of tables and columns using which tables can be split into multiple entities.
The multi-context generator allows you to specify exactly which tables and columns you want generated. However the multi-context generator is completely reliant on you specifying what you want for all tables. So if you only want to split a couple, it's not worth the effort.
Just so I'm perfectly clear on how you've split it, could you include an example here.