public void Contains() { var db = SqlServerNorthwindDatabase(); SqlSet <SqlSetAnnotated.Model1.Product> table = db.Table <SqlSetAnnotated.Model1.Product>(); var prod1 = table.Single("ProductID = 1"); Assert.IsTrue(table.Contains(prod1)); Assert.IsFalse(table.Where("ProductID = 2").Contains(prod1)); }