The type passed to ItemInstanceAttribute should implement IDatabaseObject. An error should occur if the type specified is not of type IDatabaseObject.