Table of Contents

Class Update

Namespace
Dynamicweb.Updates
Assembly
Dynamicweb.Core.dll

Base class for updates

public abstract class Update
Inheritance
Update
Derived
Inherited Members

Constructors

Update(string, UpdateProvider)

Initializes a new instance of the Update class.

protected Update(string id, UpdateProvider provider)

Parameters

id string

A newly generated GUID identifying this update, e.g. Guid.NewGuid().ToString(). Never write one by hand or copy an existing id: an update is recorded as applied by this id, so a second update declared with an id already used in the same provider is silently skipped and never runs.

provider UpdateProvider

The update provider that owns this update.

Properties

Key

public UpdateKey Key { get; }

Property Value

UpdateKey

Methods

Execute(UpdateContext)

public abstract void Execute(UpdateContext context)

Parameters

context UpdateContext
To top