put LINQ code in sitecore code -
I have to get "comment" by the article ID and I can only get all the comments in all the articles. My plan is making LINQ code in my code
please see my code
var childrenss = new list & lt; Sitecore.Data.Items.Item & gt; (); Exotic hair (various hair in item. Gate Child ()) {childrenss.Add ((Sitecore.Data.Items.Item) child); } Any advice is appreciated. Thank you.
good looks as if you should be able to use: / P> using System.Linq; ... var kids = item Gate Childland () ToList ();
Comments
Post a Comment