Beispiel #1
0
        public void GetRawValue()
        {
            SqlType type = new SqlXml(testXml, ParameterDirection.Input);
            Assert.AreEqual(testXml, type.GetRawValue());

            type = new SqlXml(null, ParameterDirection.Input);
            Assert.Null(type.GetRawValue());
        }
Beispiel #2
0
        public void GetRawValue()
        {
            SqlType type = new SqlXml(testXml, ParameterDirection.Input);

            Assert.AreEqual(testXml, type.GetRawValue());

            type = new SqlXml(null, ParameterDirection.Input);
            Assert.Null(type.GetRawValue());
        }