Chili.Opf3 Send comments on this topic.
ResolveStorageNullValue Method
See Also 
Chili.Opf3.Storages Namespace > StorageBase Class : ResolveStorageNullValue Method




value
Value that should be handled.
type
Type of the value that is handled.

Attention: This method is not intended to be used in your code.

Handles the DBNull value for the given type.

Syntax

Visual Basic (Declaration) 
Public Overridable Function ResolveStorageNullValue( _
   ByVal value As Object, _
   ByVal type As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As StorageBase
Dim value As Object
Dim type As Type
Dim value As Object
 
value = instance.ResolveStorageNullValue(value, type)
C# 
public virtual object ResolveStorageNullValue( 
   object value,
   Type type
)
Managed Extensions for C++ 
public: virtual Object* ResolveStorageNullValue( 
   Object* value,
   Type* type
) 
C++/CLI 
public:
virtual Object^ ResolveStorageNullValue( 
   Object^ value,
   Type^ type
) 

Parameters

value
Value that should be handled.
type
Type of the value that is handled.

Exceptions

ExceptionDescription
InvalidTypeExceptionThe type of the value is not valid for DBNull handling. It is not supported by the framework.

Remarks

If the framework gets a DBNull value from the storage while populating a persistent object it calls this method to let the storage decide what do to with value. The storage has to convert the value in an appropriate way.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also