Related Collections
Configuring **many-to-many** relationships in Umbraco UI Builder, the backoffice UI builder for Umbraco.



Collections Representation

Defining a related collection
Collection definition
AddRelatedCollection<TEntityType, TRelatedEntityType, TJunctionEntityType>(Expression<Func<TRelatedEntityType, object>> idPropertyExpression, string nameSingular, string namePlural, Action<RelationConfigBuilder<TBuilder, TEntity, TRelatedEntityType, TJunctionEntityType>> relationConfig)
Configuring a related collection entity picker
AddRelatedCollectionPickerField<TValueType>(string alias, string dataTypeName, string label)
Defining repository methods
IEnumerable GetRelationsByParentIdImpl(int parentId, string relationAlias)
StudentCourse SaveRelationImpl(StudentCourse entity)
Last updated
Was this helpful?