Persistate API documentation
IsEmptyOrNull Method (obj)
NamespacesPersistatePersistentIsEmptyOrNull(Persistent)

[This is preliminary documentation and is subject to change.]

Determines whether a object is either null or an empty object.
Declaration Syntax
C#
public static bool IsEmptyOrNull(
	Persistent obj
)
Parameters
obj (Persistent)
The object to test.
Return Value
True if the object is either null or an Empty object.
Remarks

Each ObjectClass has it's own Empty object. This method tests whether the given object is either null or the class EmptyObject.

Setting an object to empty is useful in some circumstances where a null value can cause an error. This can happen especially where an object is bound to a control on a form.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)