Clears the collection of related items.
Namespace: MonoSoftware.MonoX.BusinessLayerAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public virtual void ClearRelatedItems(
Guid parentId,
int parentEntityType,
int childEntityType,
EntityCollection<SnRelationshipEntity> relationships
) |
Visual Basic |
---|
Public Overridable Sub ClearRelatedItems (
parentId As Guid,
parentEntityType As Integer,
childEntityType As Integer,
relationships As EntityCollection(Of SnRelationshipEntity)
) |
Visual C++ |
---|
public:
virtual void ClearRelatedItems(
Guid parentId,
int parentEntityType,
int childEntityType,
EntityCollection<SnRelationshipEntity^>^ relationships
) |
F# |
---|
abstract ClearRelatedItems :
parentId : Guid *
parentEntityType : int *
childEntityType : int *
relationships : EntityCollection<SnRelationshipEntity> -> unit
override 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.
Implements
IRelatedContentBLL..::..ClearRelatedItems(Guid, Int32, Int32, EntityCollection<(Of <<'(SnRelationshipEntity>)>>))See Also