public void SimpleDeleteUsingWhereTest() { using (EasySession easySession = new EasySession()) { ///[Test Create] - without relationship Location location = new Location(); int resultCount = location.Count(easySession); Assert.AreEqual(13, resultCount); bool result = location.DeleteAllByCustomWhere(easySession, "Availability = 120.00"); resultCount = location.Count(easySession); Assert.AreEqual(9, resultCount); } }