I am now using the linq extension to provide me with Contains functionality. I call WhereIn as follows:
Answers = Answers.WhereIn(x => x.category.catid, catSTRarray);
Is there a built-in function in the entity structure to use?
pseudo code
Answers.Where(x => catSTRarray.Contains(x.category.catid));
Source: https://habr.com/ru/post/1309932/More articles:Visual Studio Generate Stub replacement / extension in Visual Studio 2010 - visual-studioBooks / resources on authentication and authorization in multilevel applications - c #How to set binding in WPF Toolkit Datagrid ContextMenu CommandParameter - c #WPF: Binding ContextMenu to Visual Parent - wpfHow to match a test on a list of numbers - unit-testingHow to extract a valid email address from a larger string in Scala - scalaIs there a design pattern that expresses objects (their operations) in different states? - design-patternsPlay mp3 file on web page - asp.netincremental OL using letters (jQuery) - jqueryNorwegian iPhone app? - iphoneAll Articles