Exemple #1
0
        public void ContainsKey()
        {
            var db = SqlServerNorthwindDatabase();

            SqlSet <SqlSetAnnotated.Model1.Product> table = db.Table <SqlSetAnnotated.Model1.Product>();

            Assert.IsTrue(table.ContainsKey(1));
            Assert.IsFalse(table.Where("ProductID = 2").ContainsKey(1));
        }