Initializes a new DatabaseObject with the parent collection that this object is associated with.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected DatabaseObject(
	DatabaseObjects objParentCollection
)
Visual Basic
Protected Sub New ( _
	objParentCollection As DatabaseObjects _
)
Visual C++
protected:
DatabaseObject(
	DatabaseObjects^ objParentCollection
)

Parameters

objParentCollection
Type: DatabaseObjects..::..DatabaseObjects

[Missing <param name="objParentCollection"/> documentation for "M:DatabaseObjects.DatabaseObject.#ctor(DatabaseObjects.DatabaseObjects)"]

Examples

CopyC#
'Code from a class that has inherited from DatabaseObjects
'So that this object has a reference to the parent
Protected Overrides Function ItemInstance() As DatabaseObjects.IDatabaseObject

    Return New Product(Me)

End Function

See Also