Share via


IMigrationsAssembly.FindMigrationId(String) Method

Definition

Finds a migration identifier in the assembly with the given a full migration name or just its identifier.

public string FindMigrationId (string nameOrId);
public string? FindMigrationId (string nameOrId);
abstract member FindMigrationId : string -> string
Public Function FindMigrationId (nameOrId As String) As String

Parameters

nameOrId
String

The name or identifier to lookup.

Returns

The identifier of the migration, or null if none was found.

Applies to