Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA and c# function returning tuple
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

firebie
Starting Member

1 Posts

Posted - Feb 21 2020 :  04:31:29 AM  Show Profile  Reply with Quote
VA doesn't recognize c# functions returning tuples, like:

(IQueryable<Test> Query, bool Filters) GetTestQuery(Dc dc)
{
var filters = false;

var query = dc.Test
.Where(i => i.Status == Status.Normal);

return (query, filters);
}

feline
Whole Tomato Software

United Kingdom
19054 Posts

Posted - Feb 23 2020 :  08:16:03 AM  Show Profile  Reply with Quote
Thank you for the clear example, we don't currently support C# functions that return a tuple, but this is something we are aware of, and working towards:

case=99749

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000