示例#1
0
        public void Execute_HigherSizeSet_CorrectValueReturned()
        {
            var proc = new ParameterSizeStoredProcedure();

            proc.ParameterSizeSetTo20 = "12345678911234567891";

            var result = ExecuteStoredProcedureSingle <ParameterSizeStoredProcedureReturn>(proc);

            Assert.AreEqual("1234567891", result.ParameterSizeSetTo20);
        }
示例#2
0
        public void Execute_SizeNotSet_CorrectValueReturned()
        {
            var proc = new ParameterSizeStoredProcedure();

            proc.ParameterSizeNotSet = "12345679";

            var result = ExecuteStoredProcedureSingle <ParameterSizeStoredProcedureReturn>(proc);

            Assert.AreEqual("12345679", result.ParameterSizeNotSet);
        }