Clears the collection of related items.

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
void ClearRelatedItems(
	Guid parentId,
	int parentEntityType,
	int childEntityType,
	EntityCollection<SnRelationshipEntity> relationships
)
Visual Basic
Sub ClearRelatedItems ( 
	parentId As Guid,
	parentEntityType As Integer,
	childEntityType As Integer,
	relationships As EntityCollection(Of SnRelationshipEntity)
)
Visual C++
void ClearRelatedItems(
	Guid parentId, 
	int parentEntityType, 
	int childEntityType, 
	EntityCollection<SnRelationshipEntity^>^ relationships
)
F#
abstract ClearRelatedItems : 
        parentId : Guid * 
        parentEntityType : int * 
        childEntityType : int * 
        relationships : EntityCollection<SnRelationshipEntity> -> unit 

Parameters

parentId
Type: System..::..Guid
Parent entity Id.
parentEntityType
Type: System..::..Int32
Parent entity type (for example BlogPost).
childEntityType
Type: System..::..Int32
Child entity type (for example SnComment).
relationships
Type: EntityCollection<(Of <(<'SnRelationshipEntity>)>)>
Relationships collection that is cleared.

See Also