Would it be possible to generate classes for SQL Server views and (optionally) table-valued functions?
It would be nice to be able to specify list of views to generate POCO classes for. These views may be based on several tables and use SQL Server scalar functions.
BTW, are you aware of some extra "script like" content on this page https://visualstudiogallery.msdn.microsoft.com/ee4fcff9-0c4c-4179-afd9-7a2fb90f5838 ?
Comments: There is another problem - I create a view which is used for counts. It uses CTE and UNPIVOT. The model is not being generated at all in this case.
It would be nice to be able to specify list of views to generate POCO classes for. These views may be based on several tables and use SQL Server scalar functions.
BTW, are you aware of some extra "script like" content on this page https://visualstudiogallery.msdn.microsoft.com/ee4fcff9-0c4c-4179-afd9-7a2fb90f5838 ?
Comments: There is another problem - I create a view which is used for counts. It uses CTE and UNPIVOT. The model is not being generated at all in this case.