Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> Code will not compile without a TVF
 

Pages: 1
Bugs & Issues
Code will not compile without a TVF
Page:1/1 

  Print all messages in this thread  
Poster Message
WayneBrantley
User



Location:
USA
Joined on:
10-Mar-2006 16:20:08
Posted:
1112 posts
# Posted on: 15-Jan-2014 21:42:47.  
Using self servicing two class.

I converted a 3.5 project to 4.1 that I downloaded and installed today.
It would not compile due to types not defined in QueryFactory.cs
TableValuedFunctionCall and TvfCallWrapper are not defined.

Turns out there is not a TvfCallFactory.cs class generated.

It turns out that the .preset file is only set to generate that file if I do in fact have any table value function calls.:
                <taskPreset name="SD.Tasks.Generic.TvfCallFactoryClassGenerator">
                <parameters>
                    <parameter name="elementFilter" value="TvfCalls.Any()" />
                </parameters>
                </taskPreset>


Adding a TVF definition to my project, regenerating did in fact generate this file and it does compile of course, so all good. However, I thought you may want to fix this little bug.


SelfServicing, .Net 4.5, Web Applications, SqlServer 2014  Top
WayneBrantley
User



Location:
USA
Joined on:
10-Mar-2006 16:20:08
Posted:
1112 posts
# Posted on: 15-Jan-2014 21:52:32.  
Nevermind...this was a bad reference that caused this...not the presence of that factory.
Sorry.


SelfServicing, .Net 4.5, Web Applications, SqlServer 2014  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.