Skip to Content
0
Jan 10, 2023 at 01:32 PM

Cloud Application Studio faster Where() alternative

51 Views

In Service Request extension:

[Extension] businessobject AP.CRM.Global:ServiceRequest 

I'm searching for Party:

var party = this.Party.Where(x => x.RoleCode == "1001");

and SDK warns me:

Where() statements directly convert to for-loops and slow down performance

In any normal language you do it this way, but not in ABSL.

So how to do it right?