filtering out data by LINQ syntax in angular request; error: Character literal must contain...

Discussão em 'Angular' iniciado por Bartek, Abril 11, 2025.

  1. Bartek

    Bartek Guest

    I have such LINQ filter for my request in order to get only part of bigger dataset.

    const coreFilter = `permissions != null && permissions.Any(p => p.permissionLevel != 'Hide' && p.areaIId == ${currentCustomer})`;


    But now it works properly only when Im asking only for one parameter

    p.areaIId == ${currentCustomer})


    If i want to filter it by two parameters I get [​IMG]

    Continue reading...

Compartilhe esta Página