Search Results for

    Show / Hide Table of Contents
    View Source

    Class Constants.Conventions.RelationTypes

    Defines the alias identifiers for built-in Umbraco relation types.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core
    Assembly: Umbraco.Core.dll
    Syntax
    public static class Constants.Conventions.RelationTypes

    Fields

    View Source

    RelateDocumentOnCopyAlias

    Alias for default relation type "Relate Document On Copy".

    Declaration
    public const string RelateDocumentOnCopyAlias = "relateDocumentOnCopy"
    Field Value
    Type Description
    string
    View Source

    RelateDocumentOnCopyName

    Name for default relation type "Relate Document On Copy".

    Declaration
    public const string RelateDocumentOnCopyName = "Relate Document On Copy"
    Field Value
    Type Description
    string
    View Source

    RelateParentDocumentOnDeleteAlias

    Alias for default relation type "Relate Parent Document On Delete".

    Declaration
    public const string RelateParentDocumentOnDeleteAlias = "relateParentDocumentOnDelete"
    Field Value
    Type Description
    string
    View Source

    RelateParentDocumentOnDeleteName

    Name for default relation type "Relate Parent Document On Delete".

    Declaration
    public const string RelateParentDocumentOnDeleteName = "Relate Parent Document On Delete"
    Field Value
    Type Description
    string
    View Source

    RelateParentElementContainerOnContainerDeleteAlias

    Alias for default relation type "Relate Parent Element Container On Container Delete".

    Declaration
    public const string RelateParentElementContainerOnContainerDeleteAlias = "relateParentElementContainerOnContainerDelete"
    Field Value
    Type Description
    string
    View Source

    RelateParentElementContainerOnContainerDeleteName

    Name for default relation type "Relate Parent Element Container On Container Delete".

    Declaration
    public const string RelateParentElementContainerOnContainerDeleteName = "Relate Parent Element Container On Container Delete"
    Field Value
    Type Description
    string
    View Source

    RelateParentElementContainerOnElementDeleteAlias

    Alias for default relation type "Relate Parent Element Container On Element Delete".

    Declaration
    public const string RelateParentElementContainerOnElementDeleteAlias = "relateParentElementContainerOnElementDelete"
    Field Value
    Type Description
    string
    View Source

    RelateParentElementContainerOnElementDeleteName

    Name for default relation type "Relate Parent Element Container On Element Delete".

    Declaration
    public const string RelateParentElementContainerOnElementDeleteName = "Relate Parent Element Container On Element Delete"
    Field Value
    Type Description
    string
    View Source

    RelateParentMediaFolderOnDeleteAlias

    Alias for default relation type "Relate Parent Media Folder On Delete".

    Declaration
    public const string RelateParentMediaFolderOnDeleteAlias = "relateParentMediaFolderOnDelete"
    Field Value
    Type Description
    string
    View Source

    RelateParentMediaFolderOnDeleteName

    Name for default relation type "Relate Parent Media Folder On Delete".

    Declaration
    public const string RelateParentMediaFolderOnDeleteName = "Relate Parent Media Folder On Delete"
    Field Value
    Type Description
    string
    View Source

    RelatedDocumentAlias

    Alias for default relation type "Related Document".

    Declaration
    public const string RelatedDocumentAlias = "umbDocument"
    Field Value
    Type Description
    string
    View Source

    RelatedDocumentName

    Name for default relation type "Related Document".

    Declaration
    public const string RelatedDocumentName = "Related Document"
    Field Value
    Type Description
    string
    View Source

    RelatedElementAlias

    Alias for default relation type "Related Element".

    Declaration
    public const string RelatedElementAlias = "umbElement"
    Field Value
    Type Description
    string
    View Source

    RelatedElementName

    Name for default relation type "Related Element".

    Declaration
    public const string RelatedElementName = "Related Element"
    Field Value
    Type Description
    string
    View Source

    RelatedMediaAlias

    Alias for default relation type "Related Media".

    Declaration
    public const string RelatedMediaAlias = "umbMedia"
    Field Value
    Type Description
    string
    View Source

    RelatedMediaName

    Name for default relation type "Related Media".

    Declaration
    public const string RelatedMediaName = "Related Media"
    Field Value
    Type Description
    string
    View Source

    RelatedMemberAlias

    Alias for default relation type "Related Member".

    Declaration
    public const string RelatedMemberAlias = "umbMember"
    Field Value
    Type Description
    string
    View Source

    RelatedMemberName

    Name for default relation type "Related Member".

    Declaration
    public const string RelatedMemberName = "Related Member"
    Field Value
    Type Description
    string

    Properties

    View Source

    AutomaticRelationTypes

    Returns the types of relations that are automatically tracked.

    Declaration
    public static string[] AutomaticRelationTypes { get; }
    Property Value
    Type Description
    string[]
    Remarks

    Developers should not manually use these relation types since they will all be cleared whenever an entity (content, media, member or element) is saved since they are auto-populated based on property values.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX