IMigrationsAssembly.FindMigrationId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework