Attention: This method is not intended to be used in your code.
Handles the DBNull value for the given type.
| Visual Basic (Declaration) | |
|---|---|
Public Overridable Function ResolveStorageNullValue( _ ByVal value As Object, _ ByVal type As Type _ ) As Object | |
| Visual Basic (Usage) | |
|---|---|
| |
| Managed Extensions for C++ | |
|---|---|
public: virtual Object* ResolveStorageNullValue( Object* value, Type* type ) | |
Parameters
- value
- Value that should be handled.
- type
- Type of the value that is handled.
| Exception | Description |
|---|---|
| InvalidTypeException | The type of the value is not valid for DBNull handling. It is not supported by the framework. |
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