TypedView QuerySpec Method not being generated

Posts   
 
    
TopDog74
User
Posts: 40
Joined: 27-Apr-2012
# Posted on: 09-Oct-2015 11:07:17   

I am trying to map the results of a stored procedure call to a POCO Typed View:

In my model i have added a stored procedure call, and a TypedView mapped to that call

The TypedView Output type is set to: PocoWithQuerySpecQuery.

When i generate the code, in the TypedViewClasses, the new POCO is generated correctly.

The relevant method in RetrievalProcedures is also generated correctly.

However, nothing is generated in the QueryFactory class to allowing me to obtain the projection. According to the documentation i am expecting a new method in the QueryFactory class which allows me get the projection, and pass it to the relevant RetrievalProcedures method.

Obtain the projection lamdba from the QueryFactory. This projection is produced by the method TypedViewNameTypedViewProjection Pass it to the method in RetrievalProcedures which fetches the actual typed view.

I am using v4.2 build August 8th 2014.

I have attached a file showing my setup.

Could you tell me if this is a bug, or if i have missed something in the settings which is stopping the method from being generated.

Thanks.

Attachments
Filename File size Added on Approval
TypedViewToPocoSetup.docx 63,085 09-Oct-2015 11:07.45 Approved
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 09-Oct-2015 11:38:27   

Let's start by using the latest v4.2 build and see if that fixes anything simple_smile

Frans Bouma | Lead developer LLBLGen Pro
TopDog74
User
Posts: 40
Joined: 27-Apr-2012
# Posted on: 09-Oct-2015 12:25:57   

Great, The issue is resolved in the latest build.

Thanks