4.2 table valued function

Posts   
 
    
El Barto
User
Posts: 64
Joined: 09-Nov-2006
# Posted on: 02-Oct-2014 10:49:06   

I've upgraded from 4.1 to 4.2 and found a problem in the code generation for tvf's. In 4.1 the following code fragment is generated in QueryFactory.cs

        
/// <summary>Creates and returns a new EntityQuery for the ProductSearchResult entity fetching data using the Table-valued function ProductSearchResultCall.</summary>
        /// <param name="alias">The alias to use for the table-valued function set.</param>
        /// <param name="search">A parameter of the TVF Call.</param>
        /// <param name="language">A parameter of the TVF Call.</param>
        /// <returns>EntityQuery calling the proper TVF Call</returns>
        public EntityQuery<ProductSearchResultEntity> ProductSearchResultCall(string alias, System.String search, System.String language)
        {
            return this.ProductSearchResult.TargetAs(alias).From(new TvfCallWrapper(TvfCallFactory.ProductSearchResultCall(alias, search, language)));
        }

When I generate the same project with version 4.2 this code is missing. According to the version 4.2 documentation on Using a Table Valued Function this method should be generated.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 02-Oct-2014 17:59:48   

Well, could you supply us with a repro case project? That would be great simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 03-Oct-2014 13:23:13   

This issue will be fixed in the installer released within the hour, build October 3rd.

Frans Bouma | Lead developer LLBLGen Pro