Beispiel #1
0
        public static void FalseToString()
        {
            var type = new SqlBooleanType(SqlTypeCode.Boolean);

            var value = SqlBoolean.False;
            var s     = type.ToSqlString(value);

            Assert.Equal("FALSE", s);
        }
Beispiel #2
0
        public static void TrueToString()
        {
            var type = new SqlBooleanType(SqlTypeCode.Boolean);

            var value = SqlBoolean.True;
            var s     = type.ToSqlString(value);

            Assert.Equal("TRUE", s);
        }