Class AddRelationTypeForMembers
Migration to add an automatic relation type for members if it doesn't already exist.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_15_4_0
Assembly: Umbraco.Infrastructure.dll
Syntax
public class AddRelationTypeForMembers : MigrationBase, IDiscoverable
Constructors
View SourceAddRelationTypeForMembers(IMigrationContext, IRelationService)
Initializes a new instance of the Add
Declaration
public AddRelationTypeForMembers(IMigrationContext context, IRelationService relationService)
Parameters
Type | Name | Description |
---|---|---|
IMigration |
context | |
IRelation |
relationService |
Methods
View SourceMigrate()
Executes the migration.
Declaration
protected override void Migrate()