Top "Contains" questions

The "contains" operator/method is used to determine if an entity collection contains an element with a particular property.

Why does the Contains() operator degrade Entity Framework's performance so dramatically?

UPDATE 3: According to this announcement, this has been addressed by the EF team in EF6 alpha 2. UPDATE 2: I've created a …

c# sql performance entity-framework-4 contains
Comparing object used as Key in Dictionary

my class: public class myClass { public int A { get; set; } public int B { get; set; } public int C { get; set; } …

c# dictionary comparison equals contains
XPath expression to find elements whose tag name contains 'Name'

I am a newcomer to XPath. I am looking for a way to get all elements whose tag name contains …

xml xpath contains
Is there a regex to match a string that contains A but does not contain B

My problem is that i want to check the browserstring with pure regex. Mozilla/5.0 (Linux; U; Android 3.0; en-us; Xoom Build/…

regex contains inverse
Select div (or other element) that class contains "grap" (o other specified word) for example

First of all; example of HTML code: <div class"grap1"> some conetent</div> <div class"…

jquery class attributes word contains
C++ implicit copy constructor for a class that contains other objects

I know that the compiler sometimes provides a default copy constructor if you don't implement yourself. I am confused about …

c++ contains composition default-copy-constructor
JQuery, selecting what does NOT contains something

If i want to select what contains "pc" i use $('tr:contains("pc")') But what can i use to …

jquery contains
What is the linq equivalent to the SQL IN operator

With linq I have to check if a value of a row is present in an array. The equivalent of …

sql linq contains
Using contains filter in DynamoDB scan with Java

Suppose I have a working query such as: ScanRequest scanRequest = new ScanRequest() .withTableName("myTable") .withFilterExpression("attr1 = :val1 and attr2 = :val2") .…

java amazon-web-services filter amazon-dynamodb contains
How to check if an array contains a particular string?

I have an array of strings. I want to check if a particular string is present in the array. DECLARE …

oracle plsql contains user-defined-types