IWriteContext.

WriteObject(Object) Method

Summary

makes sure the object is stored and writes the ID of the object to the context.

Syntax

void WriteObject(Object obj)

Remarks

makes sure the object is stored and writes the ID of the object to the context. Use this method for first class objects only (objects that have an identity in the database). If the object can potentially be a primitive type, do not use this method but use a matching Db4objects.Db4o.Marshall.IWriteBuffer method instead.

Parameters

Name Type Description
obj Object the object to write.

Return Value

Type Description
void