Creates a new entity collection

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public BrightstarEntityCollection(
	BrightstarEntityContext context,
	BrightstarEntityObject parent,
	string propertyType,
	bool isInverse = false
)
Visual Basic
Public Sub New ( 
	context As BrightstarEntityContext,
	parent As BrightstarEntityObject,
	propertyType As String,
	Optional isInverse As Boolean = false
)
Visual C++
public:
BrightstarEntityCollection(
	BrightstarEntityContext^ context, 
	BrightstarEntityObject^ parent, 
	String^ propertyType, 
	bool isInverse = false
)
F#
new : 
        context : BrightstarEntityContext * 
        parent : BrightstarEntityObject * 
        propertyType : string * 
        ?isInverse : bool 
(* Defaults:
        let _isInverse = defaultArg isInverse false
*)
-> BrightstarEntityCollection

Parameters

context
Type: BrightstarDB.EntityFramework..::..BrightstarEntityContext
The context that manages the entities
parent
Type: BrightstarDB.EntityFramework..::..BrightstarEntityObject
The parent entity that contains this collection
propertyType
Type: System..::..String
The property type that the collection maps to
isInverse (Optional)
Type: System..::..Boolean
True if the collection represents the inverse of propertyType

See Also