コード例 #1
0
ファイル: SqlTinyIntTests.cs プロジェクト: camilohe/unQuery
        public void GetRawValue()
        {
            SqlType type = new SqlTinyInt(5, ParameterDirection.Input);
            Assert.AreEqual((byte)5, type.GetRawValue());

            type = new SqlTinyInt(null, ParameterDirection.Input);
            Assert.Null(type.GetRawValue());
        }
コード例 #2
0
ファイル: SqlTinyIntTests.cs プロジェクト: ffMathy/unQuery
        public void GetRawValue()
        {
            SqlType type = new SqlTinyInt(5, ParameterDirection.Input);

            Assert.AreEqual((byte)5, type.GetRawValue());

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