danburyit
asked on
Table Scaffolding with Dynamic Data not working
Hi All,
I've created a Dynamic Site and referenced the dll of another project (also tried adding that project to solution) with an Entity Framework Model. The scaffolding all works fine, but I can't seem to get a partial class with attributes to be recognized to hide a couple of the tables and columns. My using statements appear to be in order, I changed the namespace in my new class to match the namespace where the EDM resides, but nothing seems to work. Does the class file need a special name? Some other config I'm missing? Thanks ahead.
I've created a Dynamic Site and referenced the dll of another project (also tried adding that project to solution) with an Entity Framework Model. The scaffolding all works fine, but I can't seem to get a partial class with attributes to be recognized to hide a couple of the tables and columns. My using statements appear to be in order, I changed the namespace in my new class to match the namespace where the EDM resides, but nothing seems to work. Does the class file need a special name? Some other config I'm missing? Thanks ahead.
[ScaffoldTable(false)]
public partial class Routes
{
}
(Should make Routes table not show in list, yes?)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER