Typed List and Typed View

Posts   
 
    
hotmail
User
Posts: 47
Joined: 06-Feb-2013
# Posted on: 12-Dec-2016 13:14:15   

We are using LLBL v5.1, SQL Server 2016 on Asp.NET MVC 5 with Asp.NET Web Api

With v5, we now have derived model for DTO, but i was just curious how are others using Typed List and Typed View in Web Application, are these still relevant? Thanks

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 13-Dec-2016 02:42:33   

Derived Models are there for hierarchical projections on entity models. Still you can use TypedView to directly map a db view or to project a Stored Procedure resultSet. If you're looking at mapping a poco class on a stored proc resultset, you can, just map a typedview on it and set its 'Output type' in code generation info to 'PocoWithQuerySpecQuery'