Is there any way that I can access my SQL views in SubSonic 3.0? The code generation seems to skip views altogether
SQL Views in SubSonic 3.0
subsonicsubsonic3
subsonicsubsonic3
Is there any way that I can access my SQL views in SubSonic 3.0? The code generation seems to skip views altogether
Best Answer
To include views in your project
simply open SQLServer.ttinclude Find the query that load the tables ( search form 'const string TABLE_SQL') then change it to
if you are using it in an asp.net project you can exclude the aspnet table and views like so