Пример #1
0
        public void GetRawValue()
        {
            SqlType type = new SqlNVarChar("Hello ру́сский", 15, ParameterDirection.Input);
            Assert.AreEqual("Hello ру́сский", type.GetRawValue());

            type = new SqlNVarChar(null, 15, ParameterDirection.Input);
            Assert.Null(type.GetRawValue());
        }
Пример #2
0
        public void GetRawValue()
        {
            SqlType type = new SqlNVarChar("Hello ру́сский", 15, ParameterDirection.Input);

            Assert.AreEqual("Hello ру́сский", type.GetRawValue());

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