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.
A service for generating migration identifiers from names and names from identifiers.
public interface IMigrationsIdGenerator
type IMigrationsIdGenerator = interface
Public Interface IMigrationsIdGenerator
The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
See Database migrations for more information and examples.
Generates an identifier given a migration name.
Gets a migration name based on the given identifier.
Checks whether or not the given string is a valid migration identifier.
Submit and view feedback for