20 using NUnit.Framework;
28 Assert.AreEqual(DBNull.Value, (DBNull)obj);
29 Assert.IsTrue(obj == DBNull.Value);
35 Assert.AreEqual(null, obj);
38 Assert.DoesNotThrow(() => result = obj == null);
39 Assert.IsNotNull(result);
41 Assert.IsTrue(result.
IsNull);
bool IsNull
Gets a value that indicates if this object is materialized as null.
SqlType Type
Gets the SqlType that defines the object properties
void NullObjectEqualsNull()
void NullObjectEqualsDbNull()
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...