Link2Db Get Rows That Have Some Values (In or NotIn query)

PHOTO EMBED

Wed Aug 24 2022 07:28:44 GMT+0000 (Coordinated Universal Time)

Saved by @HristoT #c#

var excludedServices = new List<int>
{
    (int)ServiceType.OperativniUslugi,
    (int)ServiceType.ElektrnonnaFaktura,
    (int)ServiceType.SproductToServiceType
};

var services = (from v in this.Service.Db.Poco.VServices
                .Where(x => !excludedServices.Contains(x.ServiceTypeID))
                .ToList();
content_copyCOPY