[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

creates a temporary mapping of a persistent class to a different class.

Namespace: Db4objects.Db4o.Config
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Sub ReadAs ( _
	clazz As Object _
)
C#
void ReadAs (
	Object clazz
)
Visual C++
void ReadAs (
	Object^ clazz
)

Parameters

clazz
System.Object
class name, Class object, or example object.

Remarks

creates a temporary mapping of a persistent class to a different class.

If meta information for this ObjectClass has been stored to the database file, it will be read from the database file as if it was representing the class specified by the clazz parameter passed to this method. The clazz parameter can be any of the following:
- a fully qualified classname as a String.
- a Class object.
- any other object to be used as a template.

This method will be ignored if the database file already contains meta information for clazz.