public static List <TeamMentor_Article> getGuidanceItemsInViews(this TM_Xml_Database tmDatabase, List <View> views) { if (views.isNull()) { return(new List <TeamMentor_Article>()); } var viewIds = (from view in views select view.id.guid()).toList(); return(tmDatabase.getGuidanceItemsInViews(viewIds)); }