Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

How to Get a Specific Column Values from a Data Table? #8994


0
Palcodeveloper created

Hi,

how can i get category column values only without all table columns in AppService Method ?


1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi,

    You can do something like this;

    var query = (from item in _itemRepository.GetAll().Where(e=> e.Reference = refence)
    select new {
        Category = item.Category
    });