Method parameter with (attribute) in brackets
问题 I have a code example from KendoUI. public ActionResult Customers_Read([DataSourceRequest]DataSourceRequest request) { return Json(GetCustomers().ToDataSourceResult(request)); } private static IEnumerable<CustomerViewModel> GetCustomers() { var northwind = new SampleEntities(); return northwind.Customers.Select(customer => new CustomerViewModel { CustomerID = customer.CustomerID, CompanyName = customer.CompanyName, ContactName = customer.ContactName, // ... }); } This example works fine. I am