Refactor Code

  • Gravatar
    Retrive Tag children

    by alaqunaibi on 8/25/2008 11:19:45 PM
  • Retrieve All Tag Descendants which Tag parent equal epecified ID
  • var query = from c in loaded.Descendants("Columns")
    where c.Parent.HasAttributes && (string) c.Parent.Attribute("ID")==ID
    select c ;
  • Refactor it!
Please log in to refactor the code! Login