public void TestDpFetchNullable()
 {
     try
     {
         var result = MultipleDataAccess.GetMultiple(1, default(bool?));
     }
     catch (DataPortalException ex)
     {
         throw ex.GetBaseException();
     }
 }
        public void TestDpFetch()
        {
            var result = MultipleDataAccess.GetMultiple(1);

            Assert.AreEqual(1, result.Id);
            Assert.AreEqual("abc", result.Name);

            result = MultipleDataAccess.GetMultiple();
            Assert.AreEqual(int.MaxValue, result.Id);
            Assert.AreEqual(string.Empty, result.Name);

            result = MultipleDataAccess.GetMultipleListInt();
            Assert.AreEqual("Fetch(List<int?> values)", ApplicationContext.GlobalContext["Method"]);

            result = MultipleDataAccess.GetMultipleListDateTime();
            Assert.AreEqual("Fetch(List<DateTime?> values)", ApplicationContext.GlobalContext["Method"]);
        }