Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA and c# function returning tuple

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
firebie Posted - Feb 21 2020 : 04:31:29 AM
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);
}

1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 23 2020 : 08:16:03 AM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000