The RelatedContentBLL type exposes the following members.

Methods

  Name Description
Public method AddRelatedItem<(Of <<'(T>)>>)
Ads a related item to the relationship.
Public method ClearRelatedItems
Clears the collection of related items.
Public method ConstructSnEntityTypeFilter(Guid, Int32, RelationPredicateBucket)
Constructs an entity type filter for a given parent id and entity type.
Public method ConstructSnEntityTypeFilter(Int32, RelationPredicateBucket, array<Guid>[]()[][])
Constructs an entity type filter for a given parent id and entity type.
Public method ConstructSnEntityTypeRelations
Constructs the neccessary entity type relations that are used in subsequent filtering operations.
Public method ConstructSnEntityTypeUserFilter
Constructs an entity type filter for a given user id and entity type.
Public method CreateRelationship
Createsd a relationship entity.
Public method EnsureRelationshipExists(Guid, Int32)
Ensures that a relationship for a particular parent id and entity type exists in a relationships collection. Works directly with the database, use the other overload to work with in-memory entities.
Public method EnsureRelationshipExists(Guid, Int32, EntityCollection<(Of <<'(SnRelationshipEntity>)>>))
Ensures that a relationship for a particular parent id and entity type exists in a relationships collection. Used with in-memory entities that are already fetched from the database.
Public method GetChildItems(Int32, EntityCollection<(Of <<'(SnRelationshipEntity>)>>))
Retrieves a list of child items from in-memory relationships collection.
Public method GetChildItems<(Of <<'(T>)>>)(Guid, Int32, Int32, SortExpression)
Retrieves a list of child items.
Public method GetChildItems<(Of <<'(T>)>>)(Guid, Int32, Int32, SortExpression, Int32, Int32, Int32%)
Retrieves a list of child items, oveload that uses paging.
Public method GetRelatedContent
Gets the related content collection.
Protected method GetRelatedContentTags
Gets the related content tags.
Protected method InitRelatedContentAuthor
Initialize related content author.
Protected method InitRelatedContentDTO
Performs related content DTO initialization by auto mapping result entity to DTO object.
Protected method InitRelatedcontentFetchCollection
Initialize related content fetch collection.
Protected method InitRelatedContentFilter
Initialize related content filter.
Protected method InitRelatedContentPrefetchPath
Initialize related content prefetchpath.
Public method InvalidateRelatedContentCache
Invalidate related content cache.
Public method IsRelationshipPresent
Determines if a relationship for a particular entity type is already present.
Public method ParseTags
Parses a tag string and constructs a tag collection for a given entity.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also