خرید بک لینک

Vote count: 0

    public static List<Customer> ReusableFunctionToGetCustomers(dbContext context, Expression<Func<Customer,bool>> CheckedPredicate)
    {
        retu context.Customers.Where(/* complex reused code*/)
            .Select(c => new CustomerVM
            {
                Id = c.CustomerId,
                Name = c.Name,
                IsChecked = true/*somehow use the CheckedPredicate Expression */,
            }).OrderBy(t => t.Name).ToList();
    }

asked 21 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 14 تير 1395 ساعت: 15:16

صفحه بندی