public void GetParameter() { SqlType type = new SqlTinyInt(5, ParameterDirection.Input); TestHelper.AssertSqlParameter(type.GetParameter(), SqlDbType.TinyInt, (byte)5); type = new SqlTinyInt(null, ParameterDirection.Input); TestHelper.AssertSqlParameter(type.GetParameter(), SqlDbType.TinyInt, DBNull.Value); }