Beispiel #1
0
        public void ODBC_GetObjectAny()
        {
            bool db2object = false;

            db2object = queryBuilder.any <cfp102>((x) => x.CFB1.Contains("M"));

            Assert.IsNotNull(db2object);
        }
Beispiel #2
0
        public void ExecuteSqlGetAny()
        {
            string           sql           = "select * from Aluno";
            List <Parameter> parameters    = new List <Parameter>();
            SqlAndParameters sqlParameters = new SqlAndParameters();
            bool             hasAny        = false;



            sqlParameters.Sql = sql;


            hasAny = queryBuilder.any(sqlParameters);

            Console.WriteLine(hasAny);

            Assert.IsTrue(hasAny);
        }