Interface IMigrationEntryService
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public interface IMigrationEntryService
Methods
CreateEntry(String, SemVersion)
Creates a migration entry, will throw an exception if it already exists
Declaration
IMigrationEntry CreateEntry(string migrationName, SemVersion version)
Parameters
Type |
Name |
Description |
System.String |
migrationName |
|
Semver.SemVersion |
version |
|
Returns
FindEntry(String, SemVersion)
Finds a migration by name and version, returns null if not found
Declaration
IMigrationEntry FindEntry(string migrationName, SemVersion version)
Parameters
Type |
Name |
Description |
System.String |
migrationName |
|
Semver.SemVersion |
version |
|
Returns
GetAll(String)
Gets all entries for a given migration name
Declaration
IEnumerable<IMigrationEntry> GetAll(string migrationName)
Parameters
Type |
Name |
Description |
System.String |
migrationName |
|
Returns