public void GetRawValue() { SqlType type = new SqlDateTime(testDateTime, ParameterDirection.Input); Assert.AreEqual(testDateTime, type.GetRawValue()); type = new SqlDateTime(null, ParameterDirection.Input); Assert.Null(type.GetRawValue()); }