News
  1. Home
  2. Linq Cast Anonymous Type To Concrete Type

Linq Cast Anonymous Type To Concrete Type

2019-11-11I have a table with three columns i want to use self join and retrieve the columns with alias name. TableMaterialIDNameMaterialParentID public ListMaterial GetMaterialList ListMaterial materilaList new ListMaterial var query from c1 in db.Materials join c2 in db.Materials on c1.ID equals c2.MaterialParentID select c2 return query.ToList

Get Price ListChat Online

News List

More News