Пример #1
0
        public void DeleteByObject()
        {
            // arrange
            string sql = string.Empty;

            Aluno aluno = new Aluno {
                curso = "20", Nome = "Fia"
            };


            // act
            // totalBefor = BuildQuery.Count("aluno");

            // query execution
            buildquery.Delete <Aluno>(x => x.curso == "20" && x.Nome == "Fia");

            // totalAfter = BuildQuery.Count("aluno");


            // assert
            // Assert.Less(totalAfter, totalBefor);

            Assert.IsTrue(true);
        }